@keystrokehq/notion 0.1.0 → 0.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (362) hide show
  1. package/README.md +1 -1
  2. package/dist/action.cjs.map +1 -1
  3. package/dist/action.mjs.map +1 -1
  4. package/dist/actions/add-multiple-page-content.cjs +13 -13
  5. package/dist/actions/add-multiple-page-content.cjs.map +1 -1
  6. package/dist/actions/add-multiple-page-content.d.cts +90 -3
  7. package/dist/actions/add-multiple-page-content.d.cts.map +1 -1
  8. package/dist/actions/add-multiple-page-content.d.mts +90 -3
  9. package/dist/actions/add-multiple-page-content.d.mts.map +1 -1
  10. package/dist/actions/add-multiple-page-content.mjs +13 -13
  11. package/dist/actions/add-multiple-page-content.mjs.map +1 -1
  12. package/dist/actions/append-code-blocks.cjs +100 -100
  13. package/dist/actions/append-code-blocks.cjs.map +1 -1
  14. package/dist/actions/append-code-blocks.d.cts +867 -3
  15. package/dist/actions/append-code-blocks.d.cts.map +1 -1
  16. package/dist/actions/append-code-blocks.d.mts +867 -3
  17. package/dist/actions/append-code-blocks.d.mts.map +1 -1
  18. package/dist/actions/append-code-blocks.mjs +100 -100
  19. package/dist/actions/append-code-blocks.mjs.map +1 -1
  20. package/dist/actions/append-layout-blocks.cjs +91 -91
  21. package/dist/actions/append-layout-blocks.cjs.map +1 -1
  22. package/dist/actions/append-layout-blocks.d.cts +652 -3
  23. package/dist/actions/append-layout-blocks.d.cts.map +1 -1
  24. package/dist/actions/append-layout-blocks.d.mts +652 -3
  25. package/dist/actions/append-layout-blocks.d.mts.map +1 -1
  26. package/dist/actions/append-layout-blocks.mjs +91 -91
  27. package/dist/actions/append-layout-blocks.mjs.map +1 -1
  28. package/dist/actions/append-media-blocks.cjs +125 -125
  29. package/dist/actions/append-media-blocks.cjs.map +1 -1
  30. package/dist/actions/append-media-blocks.d.cts +1039 -3
  31. package/dist/actions/append-media-blocks.d.cts.map +1 -1
  32. package/dist/actions/append-media-blocks.d.mts +1039 -3
  33. package/dist/actions/append-media-blocks.d.mts.map +1 -1
  34. package/dist/actions/append-media-blocks.mjs +125 -125
  35. package/dist/actions/append-media-blocks.mjs.map +1 -1
  36. package/dist/actions/append-table-blocks.cjs +87 -87
  37. package/dist/actions/append-table-blocks.cjs.map +1 -1
  38. package/dist/actions/append-table-blocks.d.cts +630 -3
  39. package/dist/actions/append-table-blocks.d.cts.map +1 -1
  40. package/dist/actions/append-table-blocks.d.mts +630 -3
  41. package/dist/actions/append-table-blocks.d.mts.map +1 -1
  42. package/dist/actions/append-table-blocks.mjs +87 -87
  43. package/dist/actions/append-table-blocks.mjs.map +1 -1
  44. package/dist/actions/append-task-blocks.cjs +101 -101
  45. package/dist/actions/append-task-blocks.cjs.map +1 -1
  46. package/dist/actions/append-task-blocks.d.cts +845 -3
  47. package/dist/actions/append-task-blocks.d.cts.map +1 -1
  48. package/dist/actions/append-task-blocks.d.mts +845 -3
  49. package/dist/actions/append-task-blocks.d.mts.map +1 -1
  50. package/dist/actions/append-task-blocks.mjs +101 -101
  51. package/dist/actions/append-task-blocks.mjs.map +1 -1
  52. package/dist/actions/append-text-blocks.cjs +118 -118
  53. package/dist/actions/append-text-blocks.cjs.map +1 -1
  54. package/dist/actions/append-text-blocks.d.cts +1116 -3
  55. package/dist/actions/append-text-blocks.d.cts.map +1 -1
  56. package/dist/actions/append-text-blocks.d.mts +1116 -3
  57. package/dist/actions/append-text-blocks.d.mts.map +1 -1
  58. package/dist/actions/append-text-blocks.mjs +118 -118
  59. package/dist/actions/append-text-blocks.mjs.map +1 -1
  60. package/dist/actions/archive-notion-page.cjs +43 -43
  61. package/dist/actions/archive-notion-page.cjs.map +1 -1
  62. package/dist/actions/archive-notion-page.d.cts +78 -3
  63. package/dist/actions/archive-notion-page.d.cts.map +1 -1
  64. package/dist/actions/archive-notion-page.d.mts +78 -3
  65. package/dist/actions/archive-notion-page.d.mts.map +1 -1
  66. package/dist/actions/archive-notion-page.mjs +43 -43
  67. package/dist/actions/archive-notion-page.mjs.map +1 -1
  68. package/dist/actions/create-comment.cjs.map +1 -1
  69. package/dist/actions/create-comment.d.cts +46 -3
  70. package/dist/actions/create-comment.d.cts.map +1 -1
  71. package/dist/actions/create-comment.d.mts +46 -3
  72. package/dist/actions/create-comment.d.mts.map +1 -1
  73. package/dist/actions/create-comment.mjs.map +1 -1
  74. package/dist/actions/create-database.cjs +44 -44
  75. package/dist/actions/create-database.cjs.map +1 -1
  76. package/dist/actions/create-database.d.cts +140 -3
  77. package/dist/actions/create-database.d.cts.map +1 -1
  78. package/dist/actions/create-database.d.mts +140 -3
  79. package/dist/actions/create-database.d.mts.map +1 -1
  80. package/dist/actions/create-database.mjs +44 -44
  81. package/dist/actions/create-database.mjs.map +1 -1
  82. package/dist/actions/create-file-upload.cjs +9 -9
  83. package/dist/actions/create-file-upload.cjs.map +1 -1
  84. package/dist/actions/create-file-upload.d.cts +38 -3
  85. package/dist/actions/create-file-upload.d.cts.map +1 -1
  86. package/dist/actions/create-file-upload.d.mts +38 -3
  87. package/dist/actions/create-file-upload.d.mts.map +1 -1
  88. package/dist/actions/create-file-upload.mjs +9 -9
  89. package/dist/actions/create-file-upload.mjs.map +1 -1
  90. package/dist/actions/create-notion-page.cjs +41 -41
  91. package/dist/actions/create-notion-page.cjs.map +1 -1
  92. package/dist/actions/create-notion-page.d.cts +83 -3
  93. package/dist/actions/create-notion-page.d.cts.map +1 -1
  94. package/dist/actions/create-notion-page.d.mts +83 -3
  95. package/dist/actions/create-notion-page.d.mts.map +1 -1
  96. package/dist/actions/create-notion-page.mjs +41 -41
  97. package/dist/actions/create-notion-page.mjs.map +1 -1
  98. package/dist/actions/delete-block.cjs +84 -84
  99. package/dist/actions/delete-block.cjs.map +1 -1
  100. package/dist/actions/delete-block.d.cts +2181 -3
  101. package/dist/actions/delete-block.d.cts.map +1 -1
  102. package/dist/actions/delete-block.d.mts +2181 -3
  103. package/dist/actions/delete-block.d.mts.map +1 -1
  104. package/dist/actions/delete-block.mjs +84 -84
  105. package/dist/actions/delete-block.mjs.map +1 -1
  106. package/dist/actions/duplicate-page.cjs +49 -49
  107. package/dist/actions/duplicate-page.cjs.map +1 -1
  108. package/dist/actions/duplicate-page.d.cts +90 -3
  109. package/dist/actions/duplicate-page.d.cts.map +1 -1
  110. package/dist/actions/duplicate-page.d.mts +90 -3
  111. package/dist/actions/duplicate-page.d.mts.map +1 -1
  112. package/dist/actions/duplicate-page.mjs +49 -49
  113. package/dist/actions/duplicate-page.mjs.map +1 -1
  114. package/dist/actions/fetch-all-block-contents.cjs +91 -91
  115. package/dist/actions/fetch-all-block-contents.cjs.map +1 -1
  116. package/dist/actions/fetch-all-block-contents.d.cts +38 -3
  117. package/dist/actions/fetch-all-block-contents.d.cts.map +1 -1
  118. package/dist/actions/fetch-all-block-contents.d.mts +38 -3
  119. package/dist/actions/fetch-all-block-contents.d.mts.map +1 -1
  120. package/dist/actions/fetch-all-block-contents.mjs +91 -91
  121. package/dist/actions/fetch-all-block-contents.mjs.map +1 -1
  122. package/dist/actions/fetch-block-contents.cjs +97 -97
  123. package/dist/actions/fetch-block-contents.cjs.map +1 -1
  124. package/dist/actions/fetch-block-contents.d.cts +687 -3
  125. package/dist/actions/fetch-block-contents.d.cts.map +1 -1
  126. package/dist/actions/fetch-block-contents.d.mts +687 -3
  127. package/dist/actions/fetch-block-contents.d.mts.map +1 -1
  128. package/dist/actions/fetch-block-contents.mjs +97 -97
  129. package/dist/actions/fetch-block-contents.mjs.map +1 -1
  130. package/dist/actions/fetch-block-metadata.cjs +81 -81
  131. package/dist/actions/fetch-block-metadata.cjs.map +1 -1
  132. package/dist/actions/fetch-block-metadata.d.cts +2103 -3
  133. package/dist/actions/fetch-block-metadata.d.cts.map +1 -1
  134. package/dist/actions/fetch-block-metadata.d.mts +2103 -3
  135. package/dist/actions/fetch-block-metadata.d.mts.map +1 -1
  136. package/dist/actions/fetch-block-metadata.mjs +81 -81
  137. package/dist/actions/fetch-block-metadata.mjs.map +1 -1
  138. package/dist/actions/fetch-comments.cjs +55 -55
  139. package/dist/actions/fetch-comments.cjs.map +1 -1
  140. package/dist/actions/fetch-comments.d.cts +148 -3
  141. package/dist/actions/fetch-comments.d.cts.map +1 -1
  142. package/dist/actions/fetch-comments.d.mts +148 -3
  143. package/dist/actions/fetch-comments.d.mts.map +1 -1
  144. package/dist/actions/fetch-comments.mjs +55 -55
  145. package/dist/actions/fetch-comments.mjs.map +1 -1
  146. package/dist/actions/fetch-data.cjs +76 -76
  147. package/dist/actions/fetch-data.cjs.map +1 -1
  148. package/dist/actions/fetch-data.d.cts +594 -3
  149. package/dist/actions/fetch-data.d.cts.map +1 -1
  150. package/dist/actions/fetch-data.d.mts +594 -3
  151. package/dist/actions/fetch-data.d.mts.map +1 -1
  152. package/dist/actions/fetch-data.mjs +76 -76
  153. package/dist/actions/fetch-data.mjs.map +1 -1
  154. package/dist/actions/fetch-database.cjs +38 -38
  155. package/dist/actions/fetch-database.cjs.map +1 -1
  156. package/dist/actions/fetch-database.d.cts +89 -3
  157. package/dist/actions/fetch-database.d.cts.map +1 -1
  158. package/dist/actions/fetch-database.d.mts +89 -3
  159. package/dist/actions/fetch-database.d.mts.map +1 -1
  160. package/dist/actions/fetch-database.mjs +38 -38
  161. package/dist/actions/fetch-database.mjs.map +1 -1
  162. package/dist/actions/fetch-row.cjs +56 -56
  163. package/dist/actions/fetch-row.cjs.map +1 -1
  164. package/dist/actions/fetch-row.d.cts +151 -3
  165. package/dist/actions/fetch-row.d.cts.map +1 -1
  166. package/dist/actions/fetch-row.d.mts +151 -3
  167. package/dist/actions/fetch-row.d.mts.map +1 -1
  168. package/dist/actions/fetch-row.mjs +56 -56
  169. package/dist/actions/fetch-row.mjs.map +1 -1
  170. package/dist/actions/get-about-user.cjs +13 -13
  171. package/dist/actions/get-about-user.cjs.map +1 -1
  172. package/dist/actions/get-about-user.d.cts +44 -3
  173. package/dist/actions/get-about-user.d.cts.map +1 -1
  174. package/dist/actions/get-about-user.d.mts +44 -3
  175. package/dist/actions/get-about-user.d.mts.map +1 -1
  176. package/dist/actions/get-about-user.mjs +13 -13
  177. package/dist/actions/get-about-user.mjs.map +1 -1
  178. package/dist/actions/get-page-markdown.cjs +5 -5
  179. package/dist/actions/get-page-markdown.cjs.map +1 -1
  180. package/dist/actions/get-page-markdown.d.cts +15 -3
  181. package/dist/actions/get-page-markdown.d.cts.map +1 -1
  182. package/dist/actions/get-page-markdown.d.mts +15 -3
  183. package/dist/actions/get-page-markdown.d.mts.map +1 -1
  184. package/dist/actions/get-page-markdown.mjs +5 -5
  185. package/dist/actions/get-page-markdown.mjs.map +1 -1
  186. package/dist/actions/get-page-property-action.cjs.map +1 -1
  187. package/dist/actions/get-page-property-action.d.cts +13 -3
  188. package/dist/actions/get-page-property-action.d.cts.map +1 -1
  189. package/dist/actions/get-page-property-action.d.mts +13 -3
  190. package/dist/actions/get-page-property-action.d.mts.map +1 -1
  191. package/dist/actions/get-page-property-action.mjs.map +1 -1
  192. package/dist/actions/insert-row-database.cjs +50 -50
  193. package/dist/actions/insert-row-database.cjs.map +1 -1
  194. package/dist/actions/insert-row-database.d.cts +165 -3
  195. package/dist/actions/insert-row-database.d.cts.map +1 -1
  196. package/dist/actions/insert-row-database.d.mts +165 -3
  197. package/dist/actions/insert-row-database.d.mts.map +1 -1
  198. package/dist/actions/insert-row-database.mjs +50 -50
  199. package/dist/actions/insert-row-database.mjs.map +1 -1
  200. package/dist/actions/insert-row-from-nl.cjs +2 -2
  201. package/dist/actions/insert-row-from-nl.cjs.map +1 -1
  202. package/dist/actions/insert-row-from-nl.d.cts +19 -3
  203. package/dist/actions/insert-row-from-nl.d.cts.map +1 -1
  204. package/dist/actions/insert-row-from-nl.d.mts +19 -3
  205. package/dist/actions/insert-row-from-nl.d.mts.map +1 -1
  206. package/dist/actions/insert-row-from-nl.mjs +2 -2
  207. package/dist/actions/insert-row-from-nl.mjs.map +1 -1
  208. package/dist/actions/list-data-source-templates.cjs +6 -6
  209. package/dist/actions/list-data-source-templates.cjs.map +1 -1
  210. package/dist/actions/list-data-source-templates.d.cts +19 -3
  211. package/dist/actions/list-data-source-templates.d.cts.map +1 -1
  212. package/dist/actions/list-data-source-templates.d.mts +19 -3
  213. package/dist/actions/list-data-source-templates.d.mts.map +1 -1
  214. package/dist/actions/list-data-source-templates.mjs +6 -6
  215. package/dist/actions/list-data-source-templates.mjs.map +1 -1
  216. package/dist/actions/list-file-uploads.cjs +9 -9
  217. package/dist/actions/list-file-uploads.cjs.map +1 -1
  218. package/dist/actions/list-file-uploads.d.cts +32 -3
  219. package/dist/actions/list-file-uploads.d.cts.map +1 -1
  220. package/dist/actions/list-file-uploads.d.mts +32 -3
  221. package/dist/actions/list-file-uploads.d.mts.map +1 -1
  222. package/dist/actions/list-file-uploads.mjs +9 -9
  223. package/dist/actions/list-file-uploads.mjs.map +1 -1
  224. package/dist/actions/list-users.cjs +14 -14
  225. package/dist/actions/list-users.cjs.map +1 -1
  226. package/dist/actions/list-users.d.cts +58 -3
  227. package/dist/actions/list-users.d.cts.map +1 -1
  228. package/dist/actions/list-users.d.mts +58 -3
  229. package/dist/actions/list-users.d.mts.map +1 -1
  230. package/dist/actions/list-users.mjs +14 -14
  231. package/dist/actions/list-users.mjs.map +1 -1
  232. package/dist/actions/move-page.cjs +44 -44
  233. package/dist/actions/move-page.cjs.map +1 -1
  234. package/dist/actions/move-page.d.cts +92 -3
  235. package/dist/actions/move-page.d.cts.map +1 -1
  236. package/dist/actions/move-page.d.mts +92 -3
  237. package/dist/actions/move-page.d.mts.map +1 -1
  238. package/dist/actions/move-page.mjs +44 -44
  239. package/dist/actions/move-page.mjs.map +1 -1
  240. package/dist/actions/query-data-source.cjs +35 -35
  241. package/dist/actions/query-data-source.cjs.map +1 -1
  242. package/dist/actions/query-data-source.d.cts +161 -3
  243. package/dist/actions/query-data-source.d.cts.map +1 -1
  244. package/dist/actions/query-data-source.d.mts +161 -3
  245. package/dist/actions/query-data-source.d.mts.map +1 -1
  246. package/dist/actions/query-data-source.mjs +35 -35
  247. package/dist/actions/query-data-source.mjs.map +1 -1
  248. package/dist/actions/query-database-with-filter.cjs +73 -73
  249. package/dist/actions/query-database-with-filter.cjs.map +1 -1
  250. package/dist/actions/query-database-with-filter.d.cts +216 -3
  251. package/dist/actions/query-database-with-filter.d.cts.map +1 -1
  252. package/dist/actions/query-database-with-filter.d.mts +216 -3
  253. package/dist/actions/query-database-with-filter.d.mts.map +1 -1
  254. package/dist/actions/query-database-with-filter.mjs +73 -73
  255. package/dist/actions/query-database-with-filter.mjs.map +1 -1
  256. package/dist/actions/query-database.cjs +61 -61
  257. package/dist/actions/query-database.cjs.map +1 -1
  258. package/dist/actions/query-database.d.cts +209 -3
  259. package/dist/actions/query-database.d.cts.map +1 -1
  260. package/dist/actions/query-database.d.mts +209 -3
  261. package/dist/actions/query-database.d.mts.map +1 -1
  262. package/dist/actions/query-database.mjs +61 -61
  263. package/dist/actions/query-database.mjs.map +1 -1
  264. package/dist/actions/replace-page-content.cjs +133 -133
  265. package/dist/actions/replace-page-content.cjs.map +1 -1
  266. package/dist/actions/replace-page-content.d.cts +1836 -3
  267. package/dist/actions/replace-page-content.d.cts.map +1 -1
  268. package/dist/actions/replace-page-content.d.mts +1836 -3
  269. package/dist/actions/replace-page-content.d.mts.map +1 -1
  270. package/dist/actions/replace-page-content.mjs +133 -133
  271. package/dist/actions/replace-page-content.mjs.map +1 -1
  272. package/dist/actions/retrieve-comment.cjs.map +1 -1
  273. package/dist/actions/retrieve-comment.d.cts +7 -3
  274. package/dist/actions/retrieve-comment.d.cts.map +1 -1
  275. package/dist/actions/retrieve-comment.d.mts +7 -3
  276. package/dist/actions/retrieve-comment.d.mts.map +1 -1
  277. package/dist/actions/retrieve-comment.mjs.map +1 -1
  278. package/dist/actions/retrieve-database-property.cjs +42 -42
  279. package/dist/actions/retrieve-database-property.cjs.map +1 -1
  280. package/dist/actions/retrieve-database-property.d.cts +78 -3
  281. package/dist/actions/retrieve-database-property.d.cts.map +1 -1
  282. package/dist/actions/retrieve-database-property.d.mts +78 -3
  283. package/dist/actions/retrieve-database-property.d.mts.map +1 -1
  284. package/dist/actions/retrieve-database-property.mjs +42 -42
  285. package/dist/actions/retrieve-database-property.mjs.map +1 -1
  286. package/dist/actions/retrieve-file-upload.cjs +6 -6
  287. package/dist/actions/retrieve-file-upload.cjs.map +1 -1
  288. package/dist/actions/retrieve-file-upload.d.cts +25 -3
  289. package/dist/actions/retrieve-file-upload.d.cts.map +1 -1
  290. package/dist/actions/retrieve-file-upload.d.mts +25 -3
  291. package/dist/actions/retrieve-file-upload.d.mts.map +1 -1
  292. package/dist/actions/retrieve-file-upload.mjs +6 -6
  293. package/dist/actions/retrieve-file-upload.mjs.map +1 -1
  294. package/dist/actions/retrieve-page.cjs +55 -55
  295. package/dist/actions/retrieve-page.cjs.map +1 -1
  296. package/dist/actions/retrieve-page.d.cts +139 -3
  297. package/dist/actions/retrieve-page.d.cts.map +1 -1
  298. package/dist/actions/retrieve-page.d.mts +139 -3
  299. package/dist/actions/retrieve-page.d.mts.map +1 -1
  300. package/dist/actions/retrieve-page.mjs +55 -55
  301. package/dist/actions/retrieve-page.mjs.map +1 -1
  302. package/dist/actions/search-notion-page.cjs +82 -82
  303. package/dist/actions/search-notion-page.cjs.map +1 -1
  304. package/dist/actions/search-notion-page.d.cts +751 -3
  305. package/dist/actions/search-notion-page.d.cts.map +1 -1
  306. package/dist/actions/search-notion-page.d.mts +751 -3
  307. package/dist/actions/search-notion-page.d.mts.map +1 -1
  308. package/dist/actions/search-notion-page.mjs +82 -82
  309. package/dist/actions/search-notion-page.mjs.map +1 -1
  310. package/dist/actions/send-file-upload.cjs +8 -8
  311. package/dist/actions/send-file-upload.cjs.map +1 -1
  312. package/dist/actions/send-file-upload.d.cts +33 -3
  313. package/dist/actions/send-file-upload.d.cts.map +1 -1
  314. package/dist/actions/send-file-upload.d.mts +33 -3
  315. package/dist/actions/send-file-upload.d.mts.map +1 -1
  316. package/dist/actions/send-file-upload.mjs +8 -8
  317. package/dist/actions/send-file-upload.mjs.map +1 -1
  318. package/dist/actions/update-block.cjs +94 -94
  319. package/dist/actions/update-block.cjs.map +1 -1
  320. package/dist/actions/update-block.d.cts +564 -3
  321. package/dist/actions/update-block.d.cts.map +1 -1
  322. package/dist/actions/update-block.d.mts +564 -3
  323. package/dist/actions/update-block.d.mts.map +1 -1
  324. package/dist/actions/update-block.mjs +94 -94
  325. package/dist/actions/update-block.mjs.map +1 -1
  326. package/dist/actions/update-page.cjs +46 -46
  327. package/dist/actions/update-page.cjs.map +1 -1
  328. package/dist/actions/update-page.d.cts +103 -3
  329. package/dist/actions/update-page.d.cts.map +1 -1
  330. package/dist/actions/update-page.d.mts +103 -3
  331. package/dist/actions/update-page.d.mts.map +1 -1
  332. package/dist/actions/update-page.mjs +46 -46
  333. package/dist/actions/update-page.mjs.map +1 -1
  334. package/dist/actions/update-row-database.cjs +50 -50
  335. package/dist/actions/update-row-database.cjs.map +1 -1
  336. package/dist/actions/update-row-database.d.cts +127 -3
  337. package/dist/actions/update-row-database.d.cts.map +1 -1
  338. package/dist/actions/update-row-database.d.mts +127 -3
  339. package/dist/actions/update-row-database.d.mts.map +1 -1
  340. package/dist/actions/update-row-database.mjs +50 -50
  341. package/dist/actions/update-row-database.mjs.map +1 -1
  342. package/dist/actions/update-schema-database.cjs +59 -59
  343. package/dist/actions/update-schema-database.cjs.map +1 -1
  344. package/dist/actions/update-schema-database.d.cts +315 -3
  345. package/dist/actions/update-schema-database.d.cts.map +1 -1
  346. package/dist/actions/update-schema-database.d.mts +315 -3
  347. package/dist/actions/update-schema-database.d.mts.map +1 -1
  348. package/dist/actions/update-schema-database.mjs +59 -59
  349. package/dist/actions/update-schema-database.mjs.map +1 -1
  350. package/dist/actions/upsert-row-database.cjs +32 -32
  351. package/dist/actions/upsert-row-database.cjs.map +1 -1
  352. package/dist/actions/upsert-row-database.d.cts +242 -3
  353. package/dist/actions/upsert-row-database.d.cts.map +1 -1
  354. package/dist/actions/upsert-row-database.d.mts +242 -3
  355. package/dist/actions/upsert-row-database.d.mts.map +1 -1
  356. package/dist/actions/upsert-row-database.mjs +32 -32
  357. package/dist/actions/upsert-row-database.mjs.map +1 -1
  358. package/dist/execute.cjs +1 -1
  359. package/dist/execute.cjs.map +1 -1
  360. package/dist/execute.mjs +1 -1
  361. package/dist/execute.mjs.map +1 -1
  362. package/package.json +2 -2
@@ -9,126 +9,126 @@ const NotionUpdateBlockInput = z.object({
9
9
  additional_properties: z.record(z.string(), z.unknown()).describe("Optional dictionary of type-specific properties. Common examples: 'checked' (boolean) for to_do blocks to mark complete/incomplete, 'color' (string like 'blue_background', 'gray', 'red') for text styling, 'is_toggleable' (boolean) for heading blocks to make them collapsible, 'icon' (object with 'type' and 'emoji' fields) for callout blocks. NOTE: Cannot use 'archived' here - use NOTION_DELETE_BLOCK to remove blocks instead. NOTE: Null/None values are automatically filtered out (omitting a property preserves its existing value).").optional()
10
10
  }).describe("Input parameters for updating a Notion block.");
11
11
  const NotionUpdateBlock_FileObjectSchema = z.object({
12
- url: z.string().describe("Temporary authenticated URL valid for one hour"),
13
- expiry_time: z.string().describe("ISO 8601 datetime when the URL expires")
14
- }).describe("Notion-hosted file object.");
12
+ url: z.string().describe("Temporary authenticated URL valid for one hour").nullable(),
13
+ expiry_time: z.string().describe("ISO 8601 datetime when the URL expires").nullable()
14
+ }).passthrough().describe("Notion-hosted file object.");
15
15
  const NotionUpdateBlock_TextContentSchema = z.object({
16
- link: z.object({}).describe("Link information with url key, or null").nullable().optional(),
17
- content: z.string().describe("The actual text content")
18
- }).describe("Text content object within rich text.");
16
+ link: z.record(z.string(), z.unknown()).describe("Link information with url key, or null").nullable().optional(),
17
+ content: z.string().describe("The actual text content").nullable()
18
+ }).passthrough().describe("Text content object within rich text.");
19
19
  const NotionUpdateBlock_AnnotationsSchema = z.object({
20
- bold: z.boolean().describe("Whether the text is bold"),
21
- code: z.boolean().describe("Whether the text is formatted as code"),
22
- color: z.string().describe("Text color: default, blue, green, red, gray, brown, orange, yellow, pink, purple, or with _background suffix for background colors"),
23
- italic: z.boolean().describe("Whether the text is italic"),
24
- underline: z.boolean().describe("Whether the text is underlined"),
25
- strikethrough: z.boolean().describe("Whether the text has strikethrough")
26
- }).describe("Styling information for rich text.");
20
+ bold: z.boolean().describe("Whether the text is bold").nullable(),
21
+ code: z.boolean().describe("Whether the text is formatted as code").nullable(),
22
+ color: z.string().describe("Text color: default, blue, green, red, gray, brown, orange, yellow, pink, purple, or with _background suffix for background colors").nullable(),
23
+ italic: z.boolean().describe("Whether the text is italic").nullable(),
24
+ underline: z.boolean().describe("Whether the text is underlined").nullable(),
25
+ strikethrough: z.boolean().describe("Whether the text has strikethrough").nullable()
26
+ }).passthrough().describe("Styling information for rich text.");
27
27
  const NotionUpdateBlock_RichTextSchema = z.object({
28
28
  href: z.string().describe("URL for links or Notion mentions, or null").nullable().optional(),
29
29
  text: NotionUpdateBlock_TextContentSchema.nullable().optional(),
30
- type: z.string().describe("Type of rich text: text, mention, or equation"),
31
- plain_text: z.string().describe("Plain text representation without formatting"),
30
+ type: z.string().describe("Type of rich text: text, mention, or equation").nullable(),
31
+ plain_text: z.string().describe("Plain text representation without formatting").nullable(),
32
32
  annotations: NotionUpdateBlock_AnnotationsSchema.nullable()
33
- }).describe("Rich text object containing formatted text content.");
34
- const NotionUpdateBlock_ExternalObjectSchema = z.object({ url: z.string().describe("URL of the externally hosted resource") }).describe("External file/media URL object.");
35
- const NotionUpdateBlock_FileUploadObjectSchema = z.object({ id: z.string().describe("UUIDv4 identifier referencing the uploaded file") }).describe("API-uploaded file reference.");
33
+ }).passthrough().describe("Rich text object containing formatted text content.");
34
+ const NotionUpdateBlock_ExternalObjectSchema = z.object({ url: z.string().describe("URL of the externally hosted resource").nullable() }).passthrough().describe("External file/media URL object.");
35
+ const NotionUpdateBlock_FileUploadObjectSchema = z.object({ id: z.string().describe("UUIDv4 identifier referencing the uploaded file").nullable() }).passthrough().describe("API-uploaded file reference.");
36
36
  const NotionUpdateBlock_PdfBlockSchema = z.object({
37
37
  file: NotionUpdateBlock_FileObjectSchema.nullable().optional(),
38
- type: z.string().describe("Type of PDF: external, file, or file_upload"),
38
+ type: z.string().describe("Type of PDF: external, file, or file_upload").nullable(),
39
39
  caption: z.array(NotionUpdateBlock_RichTextSchema).describe("Array of rich text objects for the PDF caption").nullable().optional(),
40
40
  external: NotionUpdateBlock_ExternalObjectSchema.nullable().optional(),
41
41
  file_upload: NotionUpdateBlock_FileUploadObjectSchema.nullable().optional()
42
- }).describe("PDF block-specific properties.");
42
+ }).passthrough().describe("PDF block-specific properties.");
43
43
  const NotionUpdateBlock_CodeBlockSchema = z.object({
44
44
  caption: z.array(NotionUpdateBlock_RichTextSchema).describe("Array of rich text objects for the code caption").nullable().optional(),
45
- language: z.string().describe("Programming language for syntax highlighting"),
45
+ language: z.string().describe("Programming language for syntax highlighting").nullable(),
46
46
  rich_text: z.array(NotionUpdateBlock_RichTextSchema).describe("Array of rich text objects containing the code content")
47
- }).describe("Code block-specific properties.");
47
+ }).passthrough().describe("Code block-specific properties.");
48
48
  const NotionUpdateBlock_FileBlockSchema = z.object({
49
49
  file: NotionUpdateBlock_FileObjectSchema.nullable().optional(),
50
- type: z.string().describe("Type of file: external, file, or file_upload"),
50
+ type: z.string().describe("Type of file: external, file, or file_upload").nullable(),
51
51
  caption: z.array(NotionUpdateBlock_RichTextSchema).describe("Array of rich text objects for the file caption").nullable().optional(),
52
52
  external: NotionUpdateBlock_ExternalObjectSchema.nullable().optional(),
53
53
  file_upload: NotionUpdateBlock_FileUploadObjectSchema.nullable().optional()
54
- }).describe("File block-specific properties.");
54
+ }).passthrough().describe("File block-specific properties.");
55
55
  const NotionUpdateBlock_AudioBlockSchema = z.object({
56
56
  file: NotionUpdateBlock_FileObjectSchema.nullable().optional(),
57
- type: z.string().describe("Type of audio: external, file, or file_upload"),
57
+ type: z.string().describe("Type of audio: external, file, or file_upload").nullable(),
58
58
  caption: z.array(NotionUpdateBlock_RichTextSchema).describe("Array of rich text objects for the audio caption").nullable().optional(),
59
59
  external: NotionUpdateBlock_ExternalObjectSchema.nullable().optional(),
60
60
  file_upload: NotionUpdateBlock_FileUploadObjectSchema.nullable().optional()
61
- }).describe("Audio block-specific properties.");
62
- const NotionUpdateBlock_EmbedBlockSchema = z.object({ url: z.string().describe("URL of the embedded content") }).describe("Embed block-specific properties.");
61
+ }).passthrough().describe("Audio block-specific properties.");
62
+ const NotionUpdateBlock_EmbedBlockSchema = z.object({ url: z.string().describe("URL of the embedded content").nullable() }).passthrough().describe("Embed block-specific properties.");
63
63
  const NotionUpdateBlock_ImageBlockSchema = z.object({
64
64
  file: NotionUpdateBlock_FileObjectSchema.nullable().optional(),
65
- type: z.string().describe("Type of image: external, file, or file_upload"),
65
+ type: z.string().describe("Type of image: external, file, or file_upload").nullable(),
66
66
  caption: z.array(NotionUpdateBlock_RichTextSchema).describe("Array of rich text objects for the image caption").nullable().optional(),
67
67
  external: NotionUpdateBlock_ExternalObjectSchema.nullable().optional(),
68
68
  file_upload: NotionUpdateBlock_FileUploadObjectSchema.nullable().optional()
69
- }).describe("Image block-specific properties.");
69
+ }).passthrough().describe("Image block-specific properties.");
70
70
  const NotionUpdateBlock_QuoteBlockSchema = z.object({
71
- color: z.string().describe("Color of the quote"),
71
+ color: z.string().describe("Color of the quote").nullable(),
72
72
  children: z.array(z.record(z.string(), z.unknown())).describe("Array of nested block objects").nullable().optional(),
73
73
  rich_text: z.array(NotionUpdateBlock_RichTextSchema).describe("Array of rich text objects containing the quote content")
74
- }).describe("Quote block-specific properties.");
74
+ }).passthrough().describe("Quote block-specific properties.");
75
75
  const NotionUpdateBlock_TableBlockSchema = z.object({
76
- table_width: z.number().int().describe("Number of columns in the table (immutable after creation)"),
77
- has_row_header: z.boolean().describe("Whether the table has a row header"),
78
- has_column_header: z.boolean().describe("Whether the table has a column header")
79
- }).describe("Table block-specific properties.");
76
+ table_width: z.number().int().describe("Number of columns in the table (immutable after creation)").nullable(),
77
+ has_row_header: z.boolean().describe("Whether the table has a row header").nullable(),
78
+ has_column_header: z.boolean().describe("Whether the table has a column header").nullable()
79
+ }).passthrough().describe("Table block-specific properties.");
80
80
  const NotionUpdateBlock_ToDoBlockSchema = z.object({
81
- color: z.string().describe("Color of the to-do item"),
82
- checked: z.boolean().describe("Whether the to-do is checked"),
81
+ color: z.string().describe("Color of the to-do item").nullable(),
82
+ checked: z.boolean().describe("Whether the to-do is checked").nullable(),
83
83
  children: z.array(z.record(z.string(), z.unknown())).describe("Array of nested block objects").nullable().optional(),
84
84
  rich_text: z.array(NotionUpdateBlock_RichTextSchema).describe("Array of rich text objects containing the to-do content")
85
- }).describe("To-do block-specific properties.");
85
+ }).passthrough().describe("To-do block-specific properties.");
86
86
  const NotionUpdateBlock_VideoBlockSchema = z.object({
87
87
  file: NotionUpdateBlock_FileObjectSchema.nullable().optional(),
88
- type: z.string().describe("Type of video: external, file, or file_upload"),
88
+ type: z.string().describe("Type of video: external, file, or file_upload").nullable(),
89
89
  caption: z.array(NotionUpdateBlock_RichTextSchema).describe("Array of rich text objects for the video caption").nullable().optional(),
90
90
  external: NotionUpdateBlock_ExternalObjectSchema.nullable().optional(),
91
91
  file_upload: NotionUpdateBlock_FileUploadObjectSchema.nullable().optional()
92
- }).describe("Video block-specific properties.");
93
- const NotionUpdateBlock_ColumnBlockSchema = z.object({ width_ratio: z.number().describe("Width ratio of the column between 0 and 1").nullable().optional() }).describe("Column block-specific properties.");
92
+ }).passthrough().describe("Video block-specific properties.");
93
+ const NotionUpdateBlock_ColumnBlockSchema = z.object({ width_ratio: z.number().describe("Width ratio of the column between 0 and 1").nullable().optional() }).passthrough().describe("Column block-specific properties.");
94
94
  const NotionUpdateBlock_ParentObjectSchema = z.object({
95
- type: z.string().describe("The type of parent. Possible values: database_id, data_source_id, page_id, workspace, block_id"),
95
+ type: z.string().describe("The type of parent. Possible values: database_id, data_source_id, page_id, workspace, block_id").nullable(),
96
96
  page_id: z.string().describe("UUIDv4 identifier of the parent page (present when type is 'page_id')").nullable().optional(),
97
97
  block_id: z.string().describe("UUIDv4 identifier of the parent block (present when type is 'block_id')").nullable().optional(),
98
98
  workspace: z.boolean().describe("Always true when type is 'workspace', indicating a top-level page").nullable().optional(),
99
99
  database_id: z.string().describe("UUIDv4 identifier of the parent database (present when type is 'database_id')").nullable().optional(),
100
100
  data_source_id: z.string().describe("UUIDv4 identifier of the parent data source (present when type is 'data_source_id')").nullable().optional()
101
- }).describe("Information about the block's parent.");
101
+ }).passthrough().describe("Information about the block's parent.");
102
102
  const NotionUpdateBlock_ToggleBlockSchema = z.object({
103
- color: z.string().describe("Color of the toggle"),
103
+ color: z.string().describe("Color of the toggle").nullable(),
104
104
  children: z.array(z.record(z.string(), z.unknown())).describe("Array of nested block objects").nullable().optional(),
105
105
  rich_text: z.array(NotionUpdateBlock_RichTextSchema).describe("Array of rich text objects containing the toggle content")
106
- }).describe("Toggle block-specific properties.");
106
+ }).passthrough().describe("Toggle block-specific properties.");
107
107
  const NotionUpdateBlock_EmojiIconSchema = z.object({
108
- type: z.string().describe("Always 'emoji'"),
109
- emoji: z.string().describe("The emoji character")
110
- }).describe("Emoji icon object.");
108
+ type: z.string().describe("Always 'emoji'").nullable(),
109
+ emoji: z.string().describe("The emoji character").nullable()
110
+ }).passthrough().describe("Emoji icon object.");
111
111
  const NotionUpdateBlock_CustomEmojiDetailsSchema = z.object({
112
- id: z.string().describe("UUID identifier of the custom emoji"),
113
- url: z.string().describe("S3 hosted image URL for the custom emoji"),
114
- name: z.string().describe("Name of the custom emoji")
115
- }).describe("Custom emoji details.");
112
+ id: z.string().describe("UUID identifier of the custom emoji").nullable(),
113
+ url: z.string().describe("S3 hosted image URL for the custom emoji").nullable(),
114
+ name: z.string().describe("Name of the custom emoji").nullable()
115
+ }).passthrough().describe("Custom emoji details.");
116
116
  const NotionUpdateBlock_CustomEmojiIconSchema = z.object({
117
- type: z.string().describe("Always 'custom_emoji'"),
117
+ type: z.string().describe("Always 'custom_emoji'").nullable(),
118
118
  custom_emoji: NotionUpdateBlock_CustomEmojiDetailsSchema.nullable()
119
- }).describe("Custom emoji icon object.");
119
+ }).passthrough().describe("Custom emoji icon object.");
120
120
  const NotionUpdateBlock_ExternalFileIconSchema = z.object({
121
- type: z.string().describe("Always 'external'"),
121
+ type: z.string().describe("Always 'external'").nullable(),
122
122
  external: NotionUpdateBlock_ExternalObjectSchema.nullable()
123
- }).describe("External file icon object.");
123
+ }).passthrough().describe("External file icon object.");
124
124
  const NotionUpdateBlock_NotionFileIconSchema = z.object({
125
125
  file: NotionUpdateBlock_FileObjectSchema.nullable(),
126
- type: z.string().describe("Always 'file'")
127
- }).describe("Notion-hosted file icon object.");
126
+ type: z.string().describe("Always 'file'").nullable()
127
+ }).passthrough().describe("Notion-hosted file icon object.");
128
128
  const NotionUpdateBlock_UploadedFileIconSchema = z.object({
129
- type: z.string().describe("Always 'file_upload'"),
129
+ type: z.string().describe("Always 'file_upload'").nullable(),
130
130
  file_upload: NotionUpdateBlock_FileUploadObjectSchema.nullable()
131
- }).describe("API-uploaded file icon object.");
131
+ }).passthrough().describe("API-uploaded file icon object.");
132
132
  const NotionUpdateBlock_CalloutBlockSchema = z.object({
133
133
  icon: z.union([
134
134
  NotionUpdateBlock_EmojiIconSchema,
@@ -137,72 +137,72 @@ const NotionUpdateBlock_CalloutBlockSchema = z.object({
137
137
  NotionUpdateBlock_NotionFileIconSchema,
138
138
  NotionUpdateBlock_UploadedFileIconSchema
139
139
  ]).nullable().optional(),
140
- color: z.string().describe("Color of the callout"),
140
+ color: z.string().describe("Color of the callout").nullable(),
141
141
  rich_text: z.array(NotionUpdateBlock_RichTextSchema).describe("Array of rich text objects containing the callout content")
142
- }).describe("Callout block-specific properties.");
143
- const NotionUpdateBlock_DividerBlockSchema = z.object({}).describe("Divider block-specific properties (empty object).");
142
+ }).passthrough().describe("Callout block-specific properties.");
143
+ const NotionUpdateBlock_DividerBlockSchema = z.record(z.string(), z.unknown()).describe("Divider block-specific properties (empty object).");
144
144
  const NotionUpdateBlock_BookmarkBlockSchema = z.object({
145
- url: z.string().describe("URL of the bookmarked page"),
145
+ url: z.string().describe("URL of the bookmarked page").nullable(),
146
146
  caption: z.array(NotionUpdateBlock_RichTextSchema).describe("Array of rich text objects for the bookmark caption").nullable().optional()
147
- }).describe("Bookmark block-specific properties.");
148
- const NotionUpdateBlock_EquationBlockSchema = z.object({ expression: z.string().describe("LaTeX formula string for the equation") }).describe("Equation block-specific properties.");
147
+ }).passthrough().describe("Bookmark block-specific properties.");
148
+ const NotionUpdateBlock_EquationBlockSchema = z.object({ expression: z.string().describe("LaTeX formula string for the equation").nullable() }).passthrough().describe("Equation block-specific properties.");
149
149
  const NotionUpdateBlock_TemplateBlockSchema = z.object({
150
150
  children: z.array(z.record(z.string(), z.unknown())).describe("Array of nested block objects that define the template content").nullable().optional(),
151
151
  rich_text: z.array(NotionUpdateBlock_RichTextSchema).describe("Array of rich text objects containing the template button text")
152
- }).describe("Template block-specific properties.");
152
+ }).passthrough().describe("Template block-specific properties.");
153
153
  const NotionUpdateBlock_HeadingBlockSchema = z.object({
154
- color: z.string().describe("Color of the heading"),
154
+ color: z.string().describe("Color of the heading").nullable(),
155
155
  rich_text: z.array(NotionUpdateBlock_RichTextSchema).describe("Array of rich text objects containing the heading content"),
156
- is_toggleable: z.boolean().describe("Whether the heading can be toggled to show/hide content")
157
- }).describe("Heading block-specific properties (heading_1, heading_2, heading_3).");
156
+ is_toggleable: z.boolean().describe("Whether the heading can be toggled to show/hide content").nullable()
157
+ }).passthrough().describe("Heading block-specific properties (heading_1, heading_2, heading_3).");
158
158
  const NotionUpdateBlock_ParagraphBlockSchema = z.object({
159
- color: z.string().describe("Color of the block"),
159
+ color: z.string().describe("Color of the block").nullable(),
160
160
  children: z.array(z.record(z.string(), z.unknown())).describe("Array of nested block objects").nullable().optional(),
161
161
  rich_text: z.array(NotionUpdateBlock_RichTextSchema).describe("Array of rich text objects containing the paragraph content")
162
- }).describe("Paragraph block-specific properties.");
163
- const NotionUpdateBlock_TableRowBlockSchema = z.object({ cells: z.array(z.array(NotionUpdateBlock_RichTextSchema)).describe("Array of arrays, where each inner array contains rich text objects representing a cell's content") }).describe("Table row block-specific properties.");
164
- const NotionUpdateBlock_BreadcrumbBlockSchema = z.object({}).describe("Breadcrumb block-specific properties (empty object).");
165
- const NotionUpdateBlock_ChildPageBlockSchema = z.object({ title: z.string().describe("Title of the child page") }).describe("Child page block-specific properties.");
162
+ }).passthrough().describe("Paragraph block-specific properties.");
163
+ const NotionUpdateBlock_TableRowBlockSchema = z.object({ cells: z.array(z.array(NotionUpdateBlock_RichTextSchema)).describe("Array of arrays, where each inner array contains rich text objects representing a cell's content") }).passthrough().describe("Table row block-specific properties.");
164
+ const NotionUpdateBlock_BreadcrumbBlockSchema = z.record(z.string(), z.unknown()).describe("Breadcrumb block-specific properties (empty object).");
165
+ const NotionUpdateBlock_ChildPageBlockSchema = z.object({ title: z.string().describe("Title of the child page").nullable() }).passthrough().describe("Child page block-specific properties.");
166
166
  const NotionUpdateBlock_PartialUserSchema = z.object({
167
- id: z.string().describe("UUIDv4 identifier of the user"),
168
- object: z.string().describe("Always 'user'")
169
- }).describe("Partial user object representing a Notion user.");
170
- const NotionUpdateBlock_ColumnListBlockSchema = z.object({}).describe("Column list block-specific properties (empty object).");
171
- const NotionUpdateBlock_LinkPreviewBlockSchema = z.object({ url: z.string().describe("URL of the link preview") }).describe("Link preview block-specific properties.");
167
+ id: z.string().describe("UUIDv4 identifier of the user").nullable(),
168
+ object: z.string().describe("Always 'user'").nullable()
169
+ }).passthrough().describe("Partial user object representing a Notion user.");
170
+ const NotionUpdateBlock_ColumnListBlockSchema = z.record(z.string(), z.unknown()).describe("Column list block-specific properties (empty object).");
171
+ const NotionUpdateBlock_LinkPreviewBlockSchema = z.object({ url: z.string().describe("URL of the link preview").nullable() }).passthrough().describe("Link preview block-specific properties.");
172
172
  const NotionUpdateBlock_LinkToPageBlockSchema = z.object({
173
- type: z.string().describe("Type of linked page: page_id, database_id, or comment_id"),
173
+ type: z.string().describe("Type of linked page: page_id, database_id, or comment_id").nullable(),
174
174
  page_id: z.string().describe("UUIDv4 identifier of the linked page").nullable().optional(),
175
175
  comment_id: z.string().describe("UUIDv4 identifier of the linked comment").nullable().optional(),
176
176
  database_id: z.string().describe("UUIDv4 identifier of the linked database").nullable().optional()
177
- }).describe("Link to page block-specific properties.");
178
- const NotionUpdateBlock_SyncedFromBlockSchema = z.object({ block_id: z.string().describe("UUIDv4 identifier of the original synced block") }).describe("Reference to the original synced block.");
177
+ }).passthrough().describe("Link to page block-specific properties.");
178
+ const NotionUpdateBlock_SyncedFromBlockSchema = z.object({ block_id: z.string().describe("UUIDv4 identifier of the original synced block").nullable() }).passthrough().describe("Reference to the original synced block.");
179
179
  const NotionUpdateBlock_SyncedBlockSchema = z.object({
180
180
  children: z.array(z.record(z.string(), z.unknown())).describe("Array of nested block objects").nullable().optional(),
181
181
  synced_from: NotionUpdateBlock_SyncedFromBlockSchema.nullable().optional()
182
- }).describe("Synced block-specific properties.");
183
- const NotionUpdateBlock_ChildDatabaseBlockSchema = z.object({ title: z.string().describe("Title of the child database") }).describe("Child database block-specific properties.");
184
- const NotionUpdateBlock_TableOfContentsBlockSchema = z.object({ color: z.string().describe("Color of the table of contents").nullable().optional() }).describe("Table of contents block-specific properties.");
182
+ }).passthrough().describe("Synced block-specific properties.");
183
+ const NotionUpdateBlock_ChildDatabaseBlockSchema = z.object({ title: z.string().describe("Title of the child database").nullable() }).passthrough().describe("Child database block-specific properties.");
184
+ const NotionUpdateBlock_TableOfContentsBlockSchema = z.object({ color: z.string().describe("Color of the table of contents").nullable().optional() }).passthrough().describe("Table of contents block-specific properties.");
185
185
  const NotionUpdateBlock_BulletedListItemBlockSchema = z.object({
186
- color: z.string().describe("Color of the list item"),
186
+ color: z.string().describe("Color of the list item").nullable(),
187
187
  children: z.array(z.record(z.string(), z.unknown())).describe("Array of nested block objects").nullable().optional(),
188
188
  rich_text: z.array(NotionUpdateBlock_RichTextSchema).describe("Array of rich text objects containing the list item content")
189
- }).describe("Bulleted list item block-specific properties.");
189
+ }).passthrough().describe("Bulleted list item block-specific properties.");
190
190
  const NotionUpdateBlock_NumberedListItemBlockSchema = z.object({
191
- color: z.string().describe("Color of the list item"),
191
+ color: z.string().describe("Color of the list item").nullable(),
192
192
  children: z.array(z.record(z.string(), z.unknown())).describe("Array of nested block objects").nullable().optional(),
193
193
  rich_text: z.array(NotionUpdateBlock_RichTextSchema).describe("Array of rich text objects containing the list item content")
194
- }).describe("Numbered list item block-specific properties.");
194
+ }).passthrough().describe("Numbered list item block-specific properties.");
195
195
  const notionUpdateBlock = action("NOTION_UPDATE_BLOCK", {
196
196
  slug: "notion-update-block",
197
197
  name: "Update block",
198
198
  description: "Updates existing Notion block's text content. ⚠️ CRITICAL: Content limited to 2000 chars. Cannot change block type or archive blocks. Content exceeding 2000 chars will fail with validation error. For longer content, split across multiple blocks using add_multiple_page_content.",
199
199
  input: NotionUpdateBlockInput,
200
200
  output: z.object({
201
- id: z.string().describe("Unique identifier of the block in UUIDv4 format"),
201
+ id: z.string().describe("Unique identifier of the block in UUIDv4 format").nullable(),
202
202
  pdf: NotionUpdateBlock_PdfBlockSchema.nullable().optional(),
203
203
  code: NotionUpdateBlock_CodeBlockSchema.nullable().optional(),
204
204
  file: NotionUpdateBlock_FileBlockSchema.nullable().optional(),
205
- type: z.string().describe("The type of block. Possible values include: paragraph, heading_1, heading_2, heading_3, bulleted_list_item, numbered_list_item, to_do, toggle, code, quote, callout, divider, breadcrumb, table_of_contents, column_list, column, link_to_page, synced_block, template, link_preview, table, table_row, embed, bookmark, image, video, pdf, file, audio, child_page, child_database, equation, and others"),
205
+ type: z.string().describe("The type of block. Possible values include: paragraph, heading_1, heading_2, heading_3, bulleted_list_item, numbered_list_item, to_do, toggle, code, quote, callout, divider, breadcrumb, table_of_contents, column_list, column, link_to_page, synced_block, template, link_preview, table, table_row, embed, bookmark, image, video, pdf, file, audio, child_page, child_database, equation, and others").nullable(),
206
206
  audio: NotionUpdateBlock_AudioBlockSchema.nullable().optional(),
207
207
  embed: NotionUpdateBlock_EmbedBlockSchema.nullable().optional(),
208
208
  image: NotionUpdateBlock_ImageBlockSchema.nullable().optional(),
@@ -211,7 +211,7 @@ const notionUpdateBlock = action("NOTION_UPDATE_BLOCK", {
211
211
  to_do: NotionUpdateBlock_ToDoBlockSchema.nullable().optional(),
212
212
  video: NotionUpdateBlock_VideoBlockSchema.nullable().optional(),
213
213
  column: NotionUpdateBlock_ColumnBlockSchema.nullable().optional(),
214
- object: z.string().describe("Always 'block'"),
214
+ object: z.string().describe("Always 'block'").nullable(),
215
215
  parent: NotionUpdateBlock_ParentObjectSchema.nullable(),
216
216
  toggle: NotionUpdateBlock_ToggleBlockSchema.nullable().optional(),
217
217
  callout: NotionUpdateBlock_CalloutBlockSchema.nullable().optional(),
@@ -241,7 +241,7 @@ const notionUpdateBlock = action("NOTION_UPDATE_BLOCK", {
241
241
  table_of_contents: NotionUpdateBlock_TableOfContentsBlockSchema.nullable().optional(),
242
242
  bulleted_list_item: NotionUpdateBlock_BulletedListItemBlockSchema.nullable().optional(),
243
243
  numbered_list_item: NotionUpdateBlock_NumberedListItemBlockSchema.nullable().optional()
244
- }).describe("Complete Block object returned by PATCH /v1/blocks/{block_id}.\n\nThe Update a Block endpoint returns a complete Block object with updated content.\nThe response structure matches the Block object schema.")
244
+ }).passthrough().describe("Complete Block object returned by PATCH /v1/blocks/{block_id}.\n\nThe Update a Block endpoint returns a complete Block object with updated content.\nThe response structure matches the Block object schema.")
245
245
  });
246
246
  //#endregion
247
247
  export { notionUpdateBlock };
@@ -1 +1 @@
1
- {"version":3,"file":"update-block.mjs","names":[],"sources":["../../src/actions/update-block.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NotionUpdateBlockInput: z.ZodTypeAny = z.object({\n content: z.string().describe(\"The new text content for the block. Replaces existing text content entirely. ⚠️ CRITICAL: Notion API enforces a HARD LIMIT of 2000 characters per text.content field. Content exceeding 2000 chars will cause a validation error. For longer content, split across multiple blocks using append_block_children or add_multiple_page_content.\"),\n block_id: z.string().describe(\"Identifier of the Notion block to be updated. Must be a valid UUID (with or without dashes). To find a block's ID, other Notion actions that list or retrieve blocks can be used. For updating content within a page (which is also a block), its ID can be obtained using actions like `NOTION_FETCH_DATA` to get page IDs and titles.\"),\n language: z.string().describe(\"Programming language for code blocks. Required when block_type='code'. Supported values include: 'abap', 'arduino', 'bash', 'basic', 'c', 'clojure', 'coffeescript', 'c++', 'c#', 'css', 'dart', 'diff', 'docker', 'elixir', 'elm', 'erlang', 'flow', 'fortran', 'f#', 'gherkin', 'glsl', 'go', 'graphql', 'groovy', 'haskell', 'html', 'java', 'javascript', 'json', 'julia', 'kotlin', 'latex', 'less', 'lisp', 'livescript', 'lua', 'makefile', 'markdown', 'markup', 'matlab', 'mermaid', 'nix', 'objective-c', 'ocaml', 'pascal', 'perl', 'php', 'plain text', 'powershell', 'prolog', 'protobuf', 'python', 'r', 'reason', 'ruby', 'rust', 'sass', 'scala', 'scheme', 'scss', 'shell', 'sql', 'swift', 'typescript', 'vb.net', 'verilog', 'vhdl', 'visual basic', 'webassembly', 'xml', 'yaml', 'java/c/c++/c#'. If not provided for a code block, the existing language will be preserved.\").optional(),\n block_type: z.string().describe(\"The type of the block being updated. If not provided, the action will automatically detect the block type by fetching the block first (adds 1 extra API call). If provided, it must match the EXISTING block's type - you cannot change a block's type. Supported types: 'paragraph', 'heading_1', 'heading_2', 'heading_3', 'bulleted_list_item', 'numbered_list_item', 'to_do', 'toggle', 'code', 'quote', 'callout'.\").optional(),\n additional_properties: z.record(z.string(), z.unknown()).describe(\"Optional dictionary of type-specific properties. Common examples: 'checked' (boolean) for to_do blocks to mark complete/incomplete, 'color' (string like 'blue_background', 'gray', 'red') for text styling, 'is_toggleable' (boolean) for heading blocks to make them collapsible, 'icon' (object with 'type' and 'emoji' fields) for callout blocks. NOTE: Cannot use 'archived' here - use NOTION_DELETE_BLOCK to remove blocks instead. NOTE: Null/None values are automatically filtered out (omitting a property preserves its existing value).\").optional(),\n}).describe(\"Input parameters for updating a Notion block.\");\nconst NotionUpdateBlock_FileObjectSchema: z.ZodTypeAny = z.object({\n url: z.string().describe(\"Temporary authenticated URL valid for one hour\"),\n expiry_time: z.string().describe(\"ISO 8601 datetime when the URL expires\"),\n}).describe(\"Notion-hosted file object.\");\nconst NotionUpdateBlock_TextContentSchema: z.ZodTypeAny = z.object({\n link: z.object({}).describe(\"Link information with url key, or null\").nullable().optional(),\n content: z.string().describe(\"The actual text content\"),\n}).describe(\"Text content object within rich text.\");\nconst NotionUpdateBlock_AnnotationsSchema: z.ZodTypeAny = z.object({\n bold: z.boolean().describe(\"Whether the text is bold\"),\n code: z.boolean().describe(\"Whether the text is formatted as code\"),\n color: z.string().describe(\"Text color: default, blue, green, red, gray, brown, orange, yellow, pink, purple, or with _background suffix for background colors\"),\n italic: z.boolean().describe(\"Whether the text is italic\"),\n underline: z.boolean().describe(\"Whether the text is underlined\"),\n strikethrough: z.boolean().describe(\"Whether the text has strikethrough\"),\n}).describe(\"Styling information for rich text.\");\nconst NotionUpdateBlock_RichTextSchema: z.ZodTypeAny = z.object({\n href: z.string().describe(\"URL for links or Notion mentions, or null\").nullable().optional(),\n text: NotionUpdateBlock_TextContentSchema.nullable().optional(),\n type: z.string().describe(\"Type of rich text: text, mention, or equation\"),\n plain_text: z.string().describe(\"Plain text representation without formatting\"),\n annotations: NotionUpdateBlock_AnnotationsSchema.nullable(),\n}).describe(\"Rich text object containing formatted text content.\");\nconst NotionUpdateBlock_ExternalObjectSchema: z.ZodTypeAny = z.object({\n url: z.string().describe(\"URL of the externally hosted resource\"),\n}).describe(\"External file/media URL object.\");\nconst NotionUpdateBlock_FileUploadObjectSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"UUIDv4 identifier referencing the uploaded file\"),\n}).describe(\"API-uploaded file reference.\");\nconst NotionUpdateBlock_PdfBlockSchema: z.ZodTypeAny = z.object({\n file: NotionUpdateBlock_FileObjectSchema.nullable().optional(),\n type: z.string().describe(\"Type of PDF: external, file, or file_upload\"),\n caption: z.array(NotionUpdateBlock_RichTextSchema).describe(\"Array of rich text objects for the PDF caption\").nullable().optional(),\n external: NotionUpdateBlock_ExternalObjectSchema.nullable().optional(),\n file_upload: NotionUpdateBlock_FileUploadObjectSchema.nullable().optional(),\n}).describe(\"PDF block-specific properties.\");\nconst NotionUpdateBlock_CodeBlockSchema: z.ZodTypeAny = z.object({\n caption: z.array(NotionUpdateBlock_RichTextSchema).describe(\"Array of rich text objects for the code caption\").nullable().optional(),\n language: z.string().describe(\"Programming language for syntax highlighting\"),\n rich_text: z.array(NotionUpdateBlock_RichTextSchema).describe(\"Array of rich text objects containing the code content\"),\n}).describe(\"Code block-specific properties.\");\nconst NotionUpdateBlock_FileBlockSchema: z.ZodTypeAny = z.object({\n file: NotionUpdateBlock_FileObjectSchema.nullable().optional(),\n type: z.string().describe(\"Type of file: external, file, or file_upload\"),\n caption: z.array(NotionUpdateBlock_RichTextSchema).describe(\"Array of rich text objects for the file caption\").nullable().optional(),\n external: NotionUpdateBlock_ExternalObjectSchema.nullable().optional(),\n file_upload: NotionUpdateBlock_FileUploadObjectSchema.nullable().optional(),\n}).describe(\"File block-specific properties.\");\nconst NotionUpdateBlock_AudioBlockSchema: z.ZodTypeAny = z.object({\n file: NotionUpdateBlock_FileObjectSchema.nullable().optional(),\n type: z.string().describe(\"Type of audio: external, file, or file_upload\"),\n caption: z.array(NotionUpdateBlock_RichTextSchema).describe(\"Array of rich text objects for the audio caption\").nullable().optional(),\n external: NotionUpdateBlock_ExternalObjectSchema.nullable().optional(),\n file_upload: NotionUpdateBlock_FileUploadObjectSchema.nullable().optional(),\n}).describe(\"Audio block-specific properties.\");\nconst NotionUpdateBlock_EmbedBlockSchema: z.ZodTypeAny = z.object({\n url: z.string().describe(\"URL of the embedded content\"),\n}).describe(\"Embed block-specific properties.\");\nconst NotionUpdateBlock_ImageBlockSchema: z.ZodTypeAny = z.object({\n file: NotionUpdateBlock_FileObjectSchema.nullable().optional(),\n type: z.string().describe(\"Type of image: external, file, or file_upload\"),\n caption: z.array(NotionUpdateBlock_RichTextSchema).describe(\"Array of rich text objects for the image caption\").nullable().optional(),\n external: NotionUpdateBlock_ExternalObjectSchema.nullable().optional(),\n file_upload: NotionUpdateBlock_FileUploadObjectSchema.nullable().optional(),\n}).describe(\"Image block-specific properties.\");\nconst NotionUpdateBlock_QuoteBlockSchema: z.ZodTypeAny = z.object({\n color: z.string().describe(\"Color of the quote\"),\n children: z.array(z.record(z.string(), z.unknown())).describe(\"Array of nested block objects\").nullable().optional(),\n rich_text: z.array(NotionUpdateBlock_RichTextSchema).describe(\"Array of rich text objects containing the quote content\"),\n}).describe(\"Quote block-specific properties.\");\nconst NotionUpdateBlock_TableBlockSchema: z.ZodTypeAny = z.object({\n table_width: z.number().int().describe(\"Number of columns in the table (immutable after creation)\"),\n has_row_header: z.boolean().describe(\"Whether the table has a row header\"),\n has_column_header: z.boolean().describe(\"Whether the table has a column header\"),\n}).describe(\"Table block-specific properties.\");\nconst NotionUpdateBlock_ToDoBlockSchema: z.ZodTypeAny = z.object({\n color: z.string().describe(\"Color of the to-do item\"),\n checked: z.boolean().describe(\"Whether the to-do is checked\"),\n children: z.array(z.record(z.string(), z.unknown())).describe(\"Array of nested block objects\").nullable().optional(),\n rich_text: z.array(NotionUpdateBlock_RichTextSchema).describe(\"Array of rich text objects containing the to-do content\"),\n}).describe(\"To-do block-specific properties.\");\nconst NotionUpdateBlock_VideoBlockSchema: z.ZodTypeAny = z.object({\n file: NotionUpdateBlock_FileObjectSchema.nullable().optional(),\n type: z.string().describe(\"Type of video: external, file, or file_upload\"),\n caption: z.array(NotionUpdateBlock_RichTextSchema).describe(\"Array of rich text objects for the video caption\").nullable().optional(),\n external: NotionUpdateBlock_ExternalObjectSchema.nullable().optional(),\n file_upload: NotionUpdateBlock_FileUploadObjectSchema.nullable().optional(),\n}).describe(\"Video block-specific properties.\");\nconst NotionUpdateBlock_ColumnBlockSchema: z.ZodTypeAny = z.object({\n width_ratio: z.number().describe(\"Width ratio of the column between 0 and 1\").nullable().optional(),\n}).describe(\"Column block-specific properties.\");\nconst NotionUpdateBlock_ParentObjectSchema: z.ZodTypeAny = z.object({\n type: z.string().describe(\"The type of parent. Possible values: database_id, data_source_id, page_id, workspace, block_id\"),\n page_id: z.string().describe(\"UUIDv4 identifier of the parent page (present when type is 'page_id')\").nullable().optional(),\n block_id: z.string().describe(\"UUIDv4 identifier of the parent block (present when type is 'block_id')\").nullable().optional(),\n workspace: z.boolean().describe(\"Always true when type is 'workspace', indicating a top-level page\").nullable().optional(),\n database_id: z.string().describe(\"UUIDv4 identifier of the parent database (present when type is 'database_id')\").nullable().optional(),\n data_source_id: z.string().describe(\"UUIDv4 identifier of the parent data source (present when type is 'data_source_id')\").nullable().optional(),\n}).describe(\"Information about the block's parent.\");\nconst NotionUpdateBlock_ToggleBlockSchema: z.ZodTypeAny = z.object({\n color: z.string().describe(\"Color of the toggle\"),\n children: z.array(z.record(z.string(), z.unknown())).describe(\"Array of nested block objects\").nullable().optional(),\n rich_text: z.array(NotionUpdateBlock_RichTextSchema).describe(\"Array of rich text objects containing the toggle content\"),\n}).describe(\"Toggle block-specific properties.\");\nconst NotionUpdateBlock_EmojiIconSchema: z.ZodTypeAny = z.object({\n type: z.string().describe(\"Always 'emoji'\"),\n emoji: z.string().describe(\"The emoji character\"),\n}).describe(\"Emoji icon object.\");\nconst NotionUpdateBlock_CustomEmojiDetailsSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"UUID identifier of the custom emoji\"),\n url: z.string().describe(\"S3 hosted image URL for the custom emoji\"),\n name: z.string().describe(\"Name of the custom emoji\"),\n}).describe(\"Custom emoji details.\");\nconst NotionUpdateBlock_CustomEmojiIconSchema: z.ZodTypeAny = z.object({\n type: z.string().describe(\"Always 'custom_emoji'\"),\n custom_emoji: NotionUpdateBlock_CustomEmojiDetailsSchema.nullable(),\n}).describe(\"Custom emoji icon object.\");\nconst NotionUpdateBlock_ExternalFileIconSchema: z.ZodTypeAny = z.object({\n type: z.string().describe(\"Always 'external'\"),\n external: NotionUpdateBlock_ExternalObjectSchema.nullable(),\n}).describe(\"External file icon object.\");\nconst NotionUpdateBlock_NotionFileIconSchema: z.ZodTypeAny = z.object({\n file: NotionUpdateBlock_FileObjectSchema.nullable(),\n type: z.string().describe(\"Always 'file'\"),\n}).describe(\"Notion-hosted file icon object.\");\nconst NotionUpdateBlock_UploadedFileIconSchema: z.ZodTypeAny = z.object({\n type: z.string().describe(\"Always 'file_upload'\"),\n file_upload: NotionUpdateBlock_FileUploadObjectSchema.nullable(),\n}).describe(\"API-uploaded file icon object.\");\nconst NotionUpdateBlock_CalloutBlockSchema: z.ZodTypeAny = z.object({\n icon: z.union([NotionUpdateBlock_EmojiIconSchema, NotionUpdateBlock_CustomEmojiIconSchema, NotionUpdateBlock_ExternalFileIconSchema, NotionUpdateBlock_NotionFileIconSchema, NotionUpdateBlock_UploadedFileIconSchema]).nullable().optional(),\n color: z.string().describe(\"Color of the callout\"),\n rich_text: z.array(NotionUpdateBlock_RichTextSchema).describe(\"Array of rich text objects containing the callout content\"),\n}).describe(\"Callout block-specific properties.\");\nconst NotionUpdateBlock_DividerBlockSchema: z.ZodTypeAny = z.object({}).describe(\"Divider block-specific properties (empty object).\");\nconst NotionUpdateBlock_BookmarkBlockSchema: z.ZodTypeAny = z.object({\n url: z.string().describe(\"URL of the bookmarked page\"),\n caption: z.array(NotionUpdateBlock_RichTextSchema).describe(\"Array of rich text objects for the bookmark caption\").nullable().optional(),\n}).describe(\"Bookmark block-specific properties.\");\nconst NotionUpdateBlock_EquationBlockSchema: z.ZodTypeAny = z.object({\n expression: z.string().describe(\"LaTeX formula string for the equation\"),\n}).describe(\"Equation block-specific properties.\");\nconst NotionUpdateBlock_TemplateBlockSchema: z.ZodTypeAny = z.object({\n children: z.array(z.record(z.string(), z.unknown())).describe(\"Array of nested block objects that define the template content\").nullable().optional(),\n rich_text: z.array(NotionUpdateBlock_RichTextSchema).describe(\"Array of rich text objects containing the template button text\"),\n}).describe(\"Template block-specific properties.\");\nconst NotionUpdateBlock_HeadingBlockSchema: z.ZodTypeAny = z.object({\n color: z.string().describe(\"Color of the heading\"),\n rich_text: z.array(NotionUpdateBlock_RichTextSchema).describe(\"Array of rich text objects containing the heading content\"),\n is_toggleable: z.boolean().describe(\"Whether the heading can be toggled to show/hide content\"),\n}).describe(\"Heading block-specific properties (heading_1, heading_2, heading_3).\");\nconst NotionUpdateBlock_ParagraphBlockSchema: z.ZodTypeAny = z.object({\n color: z.string().describe(\"Color of the block\"),\n children: z.array(z.record(z.string(), z.unknown())).describe(\"Array of nested block objects\").nullable().optional(),\n rich_text: z.array(NotionUpdateBlock_RichTextSchema).describe(\"Array of rich text objects containing the paragraph content\"),\n}).describe(\"Paragraph block-specific properties.\");\nconst NotionUpdateBlock_TableRowBlockSchema: z.ZodTypeAny = z.object({\n cells: z.array(z.array(NotionUpdateBlock_RichTextSchema)).describe(\"Array of arrays, where each inner array contains rich text objects representing a cell's content\"),\n}).describe(\"Table row block-specific properties.\");\nconst NotionUpdateBlock_BreadcrumbBlockSchema: z.ZodTypeAny = z.object({}).describe(\"Breadcrumb block-specific properties (empty object).\");\nconst NotionUpdateBlock_ChildPageBlockSchema: z.ZodTypeAny = z.object({\n title: z.string().describe(\"Title of the child page\"),\n}).describe(\"Child page block-specific properties.\");\nconst NotionUpdateBlock_PartialUserSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"UUIDv4 identifier of the user\"),\n object: z.string().describe(\"Always 'user'\"),\n}).describe(\"Partial user object representing a Notion user.\");\nconst NotionUpdateBlock_ColumnListBlockSchema: z.ZodTypeAny = z.object({}).describe(\"Column list block-specific properties (empty object).\");\nconst NotionUpdateBlock_LinkPreviewBlockSchema: z.ZodTypeAny = z.object({\n url: z.string().describe(\"URL of the link preview\"),\n}).describe(\"Link preview block-specific properties.\");\nconst NotionUpdateBlock_LinkToPageBlockSchema: z.ZodTypeAny = z.object({\n type: z.string().describe(\"Type of linked page: page_id, database_id, or comment_id\"),\n page_id: z.string().describe(\"UUIDv4 identifier of the linked page\").nullable().optional(),\n comment_id: z.string().describe(\"UUIDv4 identifier of the linked comment\").nullable().optional(),\n database_id: z.string().describe(\"UUIDv4 identifier of the linked database\").nullable().optional(),\n}).describe(\"Link to page block-specific properties.\");\nconst NotionUpdateBlock_SyncedFromBlockSchema: z.ZodTypeAny = z.object({\n block_id: z.string().describe(\"UUIDv4 identifier of the original synced block\"),\n}).describe(\"Reference to the original synced block.\");\nconst NotionUpdateBlock_SyncedBlockSchema: z.ZodTypeAny = z.object({\n children: z.array(z.record(z.string(), z.unknown())).describe(\"Array of nested block objects\").nullable().optional(),\n synced_from: NotionUpdateBlock_SyncedFromBlockSchema.nullable().optional(),\n}).describe(\"Synced block-specific properties.\");\nconst NotionUpdateBlock_ChildDatabaseBlockSchema: z.ZodTypeAny = z.object({\n title: z.string().describe(\"Title of the child database\"),\n}).describe(\"Child database block-specific properties.\");\nconst NotionUpdateBlock_TableOfContentsBlockSchema: z.ZodTypeAny = z.object({\n color: z.string().describe(\"Color of the table of contents\").nullable().optional(),\n}).describe(\"Table of contents block-specific properties.\");\nconst NotionUpdateBlock_BulletedListItemBlockSchema: z.ZodTypeAny = z.object({\n color: z.string().describe(\"Color of the list item\"),\n children: z.array(z.record(z.string(), z.unknown())).describe(\"Array of nested block objects\").nullable().optional(),\n rich_text: z.array(NotionUpdateBlock_RichTextSchema).describe(\"Array of rich text objects containing the list item content\"),\n}).describe(\"Bulleted list item block-specific properties.\");\nconst NotionUpdateBlock_NumberedListItemBlockSchema: z.ZodTypeAny = z.object({\n color: z.string().describe(\"Color of the list item\"),\n children: z.array(z.record(z.string(), z.unknown())).describe(\"Array of nested block objects\").nullable().optional(),\n rich_text: z.array(NotionUpdateBlock_RichTextSchema).describe(\"Array of rich text objects containing the list item content\"),\n}).describe(\"Numbered list item block-specific properties.\");\nexport const NotionUpdateBlockOutput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier of the block in UUIDv4 format\"),\n pdf: NotionUpdateBlock_PdfBlockSchema.nullable().optional(),\n code: NotionUpdateBlock_CodeBlockSchema.nullable().optional(),\n file: NotionUpdateBlock_FileBlockSchema.nullable().optional(),\n type: z.string().describe(\"The type of block. Possible values include: paragraph, heading_1, heading_2, heading_3, bulleted_list_item, numbered_list_item, to_do, toggle, code, quote, callout, divider, breadcrumb, table_of_contents, column_list, column, link_to_page, synced_block, template, link_preview, table, table_row, embed, bookmark, image, video, pdf, file, audio, child_page, child_database, equation, and others\"),\n audio: NotionUpdateBlock_AudioBlockSchema.nullable().optional(),\n embed: NotionUpdateBlock_EmbedBlockSchema.nullable().optional(),\n image: NotionUpdateBlock_ImageBlockSchema.nullable().optional(),\n quote: NotionUpdateBlock_QuoteBlockSchema.nullable().optional(),\n table: NotionUpdateBlock_TableBlockSchema.nullable().optional(),\n to_do: NotionUpdateBlock_ToDoBlockSchema.nullable().optional(),\n video: NotionUpdateBlock_VideoBlockSchema.nullable().optional(),\n column: NotionUpdateBlock_ColumnBlockSchema.nullable().optional(),\n object: z.string().describe(\"Always 'block'\"),\n parent: NotionUpdateBlock_ParentObjectSchema.nullable(),\n toggle: NotionUpdateBlock_ToggleBlockSchema.nullable().optional(),\n callout: NotionUpdateBlock_CalloutBlockSchema.nullable().optional(),\n divider: NotionUpdateBlock_DividerBlockSchema.nullable().optional(),\n archived: z.boolean().describe(\"Whether the block has been archived (deleted)\").nullable().optional(),\n bookmark: NotionUpdateBlock_BookmarkBlockSchema.nullable().optional(),\n equation: NotionUpdateBlock_EquationBlockSchema.nullable().optional(),\n in_trash: z.boolean().describe(\"Whether the block is in the trash\").nullable().optional(),\n template: NotionUpdateBlock_TemplateBlockSchema.nullable().optional(),\n heading_1: NotionUpdateBlock_HeadingBlockSchema.nullable().optional(),\n heading_2: NotionUpdateBlock_HeadingBlockSchema.nullable().optional(),\n heading_3: NotionUpdateBlock_HeadingBlockSchema.nullable().optional(),\n paragraph: NotionUpdateBlock_ParagraphBlockSchema.nullable().optional(),\n table_row: NotionUpdateBlock_TableRowBlockSchema.nullable().optional(),\n breadcrumb: NotionUpdateBlock_BreadcrumbBlockSchema.nullable().optional(),\n child_page: NotionUpdateBlock_ChildPageBlockSchema.nullable().optional(),\n created_by: NotionUpdateBlock_PartialUserSchema.nullable().optional(),\n column_list: NotionUpdateBlock_ColumnListBlockSchema.nullable().optional(),\n created_time: z.string().describe(\"ISO 8601 datetime string indicating when the block was created\").nullable().optional(),\n has_children: z.boolean().describe(\"Whether the block has child blocks nested within it\").nullable().optional(),\n link_preview: NotionUpdateBlock_LinkPreviewBlockSchema.nullable().optional(),\n link_to_page: NotionUpdateBlock_LinkToPageBlockSchema.nullable().optional(),\n synced_block: NotionUpdateBlock_SyncedBlockSchema.nullable().optional(),\n child_database: NotionUpdateBlock_ChildDatabaseBlockSchema.nullable().optional(),\n last_edited_by: NotionUpdateBlock_PartialUserSchema.nullable().optional(),\n last_edited_time: z.string().describe(\"ISO 8601 datetime string indicating when the block was last edited\").nullable().optional(),\n table_of_contents: NotionUpdateBlock_TableOfContentsBlockSchema.nullable().optional(),\n bulleted_list_item: NotionUpdateBlock_BulletedListItemBlockSchema.nullable().optional(),\n numbered_list_item: NotionUpdateBlock_NumberedListItemBlockSchema.nullable().optional(),\n}).describe(\"Complete Block object returned by PATCH /v1/blocks/{block_id}.\\n\\nThe Update a Block endpoint returns a complete Block object with updated content.\\nThe response structure matches the Block object schema.\");\n\nexport const notionUpdateBlock = action(\"NOTION_UPDATE_BLOCK\", {\n slug: \"notion-update-block\",\n name: \"Update block\",\n description: \"Updates existing Notion block's text content. ⚠️ CRITICAL: Content limited to 2000 chars. Cannot change block type or archive blocks. Content exceeding 2000 chars will fail with validation error. For longer content, split across multiple blocks using add_multiple_page_content.\",\n input: NotionUpdateBlockInput,\n output: NotionUpdateBlockOutput,\n});\n"],"mappings":";;;A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sCAAsC,SAAS,CAAC,CAAC,SAAS;EACrE,YAAY,wCAAwC,SAAS,CAAC,CAAC,SAAS;EACxE,YAAY,uCAAuC,SAAS,CAAC,CAAC,SAAS;EACvE,YAAY,oCAAoC,SAAS,CAAC,CAAC,SAAS;EACpE,aAAa,wCAAwC,SAAS,CAAC,CAAC,SAAS;EACzE,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxH,cAAc,EAAE,QAAQ,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9G,cAAc,yCAAyC,SAAS,CAAC,CAAC,SAAS;EAC3E,cAAc,wCAAwC,SAAS,CAAC,CAAC,SAAS;EAC1E,cAAc,oCAAoC,SAAS,CAAC,CAAC,SAAS;EACtE,gBAAgB,2CAA2C,SAAS,CAAC,CAAC,SAAS;EAC/E,gBAAgB,oCAAoC,SAAS,CAAC,CAAC,SAAS;EACxE,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChI,mBAAmB,6CAA6C,SAAS,CAAC,CAAC,SAAS;EACpF,oBAAoB,8CAA8C,SAAS,CAAC,CAAC,SAAS;EACtF,oBAAoB,8CAA8C,SAAS,CAAC,CAAC,SAAS;CACxF,CAAC,CAAC,CAAC,SAAS,8MAOF;AACV,CAAC"}
1
+ {"version":3,"file":"update-block.mjs","names":[],"sources":["../../src/actions/update-block.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NotionUpdateBlockInput = z.object({\n content: z.string().describe(\"The new text content for the block. Replaces existing text content entirely. ⚠️ CRITICAL: Notion API enforces a HARD LIMIT of 2000 characters per text.content field. Content exceeding 2000 chars will cause a validation error. For longer content, split across multiple blocks using append_block_children or add_multiple_page_content.\"),\n block_id: z.string().describe(\"Identifier of the Notion block to be updated. Must be a valid UUID (with or without dashes). To find a block's ID, other Notion actions that list or retrieve blocks can be used. For updating content within a page (which is also a block), its ID can be obtained using actions like `NOTION_FETCH_DATA` to get page IDs and titles.\"),\n language: z.string().describe(\"Programming language for code blocks. Required when block_type='code'. Supported values include: 'abap', 'arduino', 'bash', 'basic', 'c', 'clojure', 'coffeescript', 'c++', 'c#', 'css', 'dart', 'diff', 'docker', 'elixir', 'elm', 'erlang', 'flow', 'fortran', 'f#', 'gherkin', 'glsl', 'go', 'graphql', 'groovy', 'haskell', 'html', 'java', 'javascript', 'json', 'julia', 'kotlin', 'latex', 'less', 'lisp', 'livescript', 'lua', 'makefile', 'markdown', 'markup', 'matlab', 'mermaid', 'nix', 'objective-c', 'ocaml', 'pascal', 'perl', 'php', 'plain text', 'powershell', 'prolog', 'protobuf', 'python', 'r', 'reason', 'ruby', 'rust', 'sass', 'scala', 'scheme', 'scss', 'shell', 'sql', 'swift', 'typescript', 'vb.net', 'verilog', 'vhdl', 'visual basic', 'webassembly', 'xml', 'yaml', 'java/c/c++/c#'. If not provided for a code block, the existing language will be preserved.\").optional(),\n block_type: z.string().describe(\"The type of the block being updated. If not provided, the action will automatically detect the block type by fetching the block first (adds 1 extra API call). If provided, it must match the EXISTING block's type - you cannot change a block's type. Supported types: 'paragraph', 'heading_1', 'heading_2', 'heading_3', 'bulleted_list_item', 'numbered_list_item', 'to_do', 'toggle', 'code', 'quote', 'callout'.\").optional(),\n additional_properties: z.record(z.string(), z.unknown()).describe(\"Optional dictionary of type-specific properties. Common examples: 'checked' (boolean) for to_do blocks to mark complete/incomplete, 'color' (string like 'blue_background', 'gray', 'red') for text styling, 'is_toggleable' (boolean) for heading blocks to make them collapsible, 'icon' (object with 'type' and 'emoji' fields) for callout blocks. NOTE: Cannot use 'archived' here - use NOTION_DELETE_BLOCK to remove blocks instead. NOTE: Null/None values are automatically filtered out (omitting a property preserves its existing value).\").optional(),\n}).describe(\"Input parameters for updating a Notion block.\");\nconst NotionUpdateBlock_FileObjectSchema = z.object({\n url: z.string().describe(\"Temporary authenticated URL valid for one hour\").nullable(),\n expiry_time: z.string().describe(\"ISO 8601 datetime when the URL expires\").nullable(),\n}).passthrough().describe(\"Notion-hosted file object.\");\nconst NotionUpdateBlock_TextContentSchema = z.object({\n link: z.record(z.string(), z.unknown()).describe(\"Link information with url key, or null\").nullable().optional(),\n content: z.string().describe(\"The actual text content\").nullable(),\n}).passthrough().describe(\"Text content object within rich text.\");\nconst NotionUpdateBlock_AnnotationsSchema = z.object({\n bold: z.boolean().describe(\"Whether the text is bold\").nullable(),\n code: z.boolean().describe(\"Whether the text is formatted as code\").nullable(),\n color: z.string().describe(\"Text color: default, blue, green, red, gray, brown, orange, yellow, pink, purple, or with _background suffix for background colors\").nullable(),\n italic: z.boolean().describe(\"Whether the text is italic\").nullable(),\n underline: z.boolean().describe(\"Whether the text is underlined\").nullable(),\n strikethrough: z.boolean().describe(\"Whether the text has strikethrough\").nullable(),\n}).passthrough().describe(\"Styling information for rich text.\");\nconst NotionUpdateBlock_RichTextSchema = z.object({\n href: z.string().describe(\"URL for links or Notion mentions, or null\").nullable().optional(),\n text: NotionUpdateBlock_TextContentSchema.nullable().optional(),\n type: z.string().describe(\"Type of rich text: text, mention, or equation\").nullable(),\n plain_text: z.string().describe(\"Plain text representation without formatting\").nullable(),\n annotations: NotionUpdateBlock_AnnotationsSchema.nullable(),\n}).passthrough().describe(\"Rich text object containing formatted text content.\");\nconst NotionUpdateBlock_ExternalObjectSchema = z.object({\n url: z.string().describe(\"URL of the externally hosted resource\").nullable(),\n}).passthrough().describe(\"External file/media URL object.\");\nconst NotionUpdateBlock_FileUploadObjectSchema = z.object({\n id: z.string().describe(\"UUIDv4 identifier referencing the uploaded file\").nullable(),\n}).passthrough().describe(\"API-uploaded file reference.\");\nconst NotionUpdateBlock_PdfBlockSchema = z.object({\n file: NotionUpdateBlock_FileObjectSchema.nullable().optional(),\n type: z.string().describe(\"Type of PDF: external, file, or file_upload\").nullable(),\n caption: z.array(NotionUpdateBlock_RichTextSchema).describe(\"Array of rich text objects for the PDF caption\").nullable().optional(),\n external: NotionUpdateBlock_ExternalObjectSchema.nullable().optional(),\n file_upload: NotionUpdateBlock_FileUploadObjectSchema.nullable().optional(),\n}).passthrough().describe(\"PDF block-specific properties.\");\nconst NotionUpdateBlock_CodeBlockSchema = z.object({\n caption: z.array(NotionUpdateBlock_RichTextSchema).describe(\"Array of rich text objects for the code caption\").nullable().optional(),\n language: z.string().describe(\"Programming language for syntax highlighting\").nullable(),\n rich_text: z.array(NotionUpdateBlock_RichTextSchema).describe(\"Array of rich text objects containing the code content\"),\n}).passthrough().describe(\"Code block-specific properties.\");\nconst NotionUpdateBlock_FileBlockSchema = z.object({\n file: NotionUpdateBlock_FileObjectSchema.nullable().optional(),\n type: z.string().describe(\"Type of file: external, file, or file_upload\").nullable(),\n caption: z.array(NotionUpdateBlock_RichTextSchema).describe(\"Array of rich text objects for the file caption\").nullable().optional(),\n external: NotionUpdateBlock_ExternalObjectSchema.nullable().optional(),\n file_upload: NotionUpdateBlock_FileUploadObjectSchema.nullable().optional(),\n}).passthrough().describe(\"File block-specific properties.\");\nconst NotionUpdateBlock_AudioBlockSchema = z.object({\n file: NotionUpdateBlock_FileObjectSchema.nullable().optional(),\n type: z.string().describe(\"Type of audio: external, file, or file_upload\").nullable(),\n caption: z.array(NotionUpdateBlock_RichTextSchema).describe(\"Array of rich text objects for the audio caption\").nullable().optional(),\n external: NotionUpdateBlock_ExternalObjectSchema.nullable().optional(),\n file_upload: NotionUpdateBlock_FileUploadObjectSchema.nullable().optional(),\n}).passthrough().describe(\"Audio block-specific properties.\");\nconst NotionUpdateBlock_EmbedBlockSchema = z.object({\n url: z.string().describe(\"URL of the embedded content\").nullable(),\n}).passthrough().describe(\"Embed block-specific properties.\");\nconst NotionUpdateBlock_ImageBlockSchema = z.object({\n file: NotionUpdateBlock_FileObjectSchema.nullable().optional(),\n type: z.string().describe(\"Type of image: external, file, or file_upload\").nullable(),\n caption: z.array(NotionUpdateBlock_RichTextSchema).describe(\"Array of rich text objects for the image caption\").nullable().optional(),\n external: NotionUpdateBlock_ExternalObjectSchema.nullable().optional(),\n file_upload: NotionUpdateBlock_FileUploadObjectSchema.nullable().optional(),\n}).passthrough().describe(\"Image block-specific properties.\");\nconst NotionUpdateBlock_QuoteBlockSchema = z.object({\n color: z.string().describe(\"Color of the quote\").nullable(),\n children: z.array(z.record(z.string(), z.unknown())).describe(\"Array of nested block objects\").nullable().optional(),\n rich_text: z.array(NotionUpdateBlock_RichTextSchema).describe(\"Array of rich text objects containing the quote content\"),\n}).passthrough().describe(\"Quote block-specific properties.\");\nconst NotionUpdateBlock_TableBlockSchema = z.object({\n table_width: z.number().int().describe(\"Number of columns in the table (immutable after creation)\").nullable(),\n has_row_header: z.boolean().describe(\"Whether the table has a row header\").nullable(),\n has_column_header: z.boolean().describe(\"Whether the table has a column header\").nullable(),\n}).passthrough().describe(\"Table block-specific properties.\");\nconst NotionUpdateBlock_ToDoBlockSchema = z.object({\n color: z.string().describe(\"Color of the to-do item\").nullable(),\n checked: z.boolean().describe(\"Whether the to-do is checked\").nullable(),\n children: z.array(z.record(z.string(), z.unknown())).describe(\"Array of nested block objects\").nullable().optional(),\n rich_text: z.array(NotionUpdateBlock_RichTextSchema).describe(\"Array of rich text objects containing the to-do content\"),\n}).passthrough().describe(\"To-do block-specific properties.\");\nconst NotionUpdateBlock_VideoBlockSchema = z.object({\n file: NotionUpdateBlock_FileObjectSchema.nullable().optional(),\n type: z.string().describe(\"Type of video: external, file, or file_upload\").nullable(),\n caption: z.array(NotionUpdateBlock_RichTextSchema).describe(\"Array of rich text objects for the video caption\").nullable().optional(),\n external: NotionUpdateBlock_ExternalObjectSchema.nullable().optional(),\n file_upload: NotionUpdateBlock_FileUploadObjectSchema.nullable().optional(),\n}).passthrough().describe(\"Video block-specific properties.\");\nconst NotionUpdateBlock_ColumnBlockSchema = z.object({\n width_ratio: z.number().describe(\"Width ratio of the column between 0 and 1\").nullable().optional(),\n}).passthrough().describe(\"Column block-specific properties.\");\nconst NotionUpdateBlock_ParentObjectSchema = z.object({\n type: z.string().describe(\"The type of parent. Possible values: database_id, data_source_id, page_id, workspace, block_id\").nullable(),\n page_id: z.string().describe(\"UUIDv4 identifier of the parent page (present when type is 'page_id')\").nullable().optional(),\n block_id: z.string().describe(\"UUIDv4 identifier of the parent block (present when type is 'block_id')\").nullable().optional(),\n workspace: z.boolean().describe(\"Always true when type is 'workspace', indicating a top-level page\").nullable().optional(),\n database_id: z.string().describe(\"UUIDv4 identifier of the parent database (present when type is 'database_id')\").nullable().optional(),\n data_source_id: z.string().describe(\"UUIDv4 identifier of the parent data source (present when type is 'data_source_id')\").nullable().optional(),\n}).passthrough().describe(\"Information about the block's parent.\");\nconst NotionUpdateBlock_ToggleBlockSchema = z.object({\n color: z.string().describe(\"Color of the toggle\").nullable(),\n children: z.array(z.record(z.string(), z.unknown())).describe(\"Array of nested block objects\").nullable().optional(),\n rich_text: z.array(NotionUpdateBlock_RichTextSchema).describe(\"Array of rich text objects containing the toggle content\"),\n}).passthrough().describe(\"Toggle block-specific properties.\");\nconst NotionUpdateBlock_EmojiIconSchema = z.object({\n type: z.string().describe(\"Always 'emoji'\").nullable(),\n emoji: z.string().describe(\"The emoji character\").nullable(),\n}).passthrough().describe(\"Emoji icon object.\");\nconst NotionUpdateBlock_CustomEmojiDetailsSchema = z.object({\n id: z.string().describe(\"UUID identifier of the custom emoji\").nullable(),\n url: z.string().describe(\"S3 hosted image URL for the custom emoji\").nullable(),\n name: z.string().describe(\"Name of the custom emoji\").nullable(),\n}).passthrough().describe(\"Custom emoji details.\");\nconst NotionUpdateBlock_CustomEmojiIconSchema = z.object({\n type: z.string().describe(\"Always 'custom_emoji'\").nullable(),\n custom_emoji: NotionUpdateBlock_CustomEmojiDetailsSchema.nullable(),\n}).passthrough().describe(\"Custom emoji icon object.\");\nconst NotionUpdateBlock_ExternalFileIconSchema = z.object({\n type: z.string().describe(\"Always 'external'\").nullable(),\n external: NotionUpdateBlock_ExternalObjectSchema.nullable(),\n}).passthrough().describe(\"External file icon object.\");\nconst NotionUpdateBlock_NotionFileIconSchema = z.object({\n file: NotionUpdateBlock_FileObjectSchema.nullable(),\n type: z.string().describe(\"Always 'file'\").nullable(),\n}).passthrough().describe(\"Notion-hosted file icon object.\");\nconst NotionUpdateBlock_UploadedFileIconSchema = z.object({\n type: z.string().describe(\"Always 'file_upload'\").nullable(),\n file_upload: NotionUpdateBlock_FileUploadObjectSchema.nullable(),\n}).passthrough().describe(\"API-uploaded file icon object.\");\nconst NotionUpdateBlock_CalloutBlockSchema = z.object({\n icon: z.union([NotionUpdateBlock_EmojiIconSchema, NotionUpdateBlock_CustomEmojiIconSchema, NotionUpdateBlock_ExternalFileIconSchema, NotionUpdateBlock_NotionFileIconSchema, NotionUpdateBlock_UploadedFileIconSchema]).nullable().optional(),\n color: z.string().describe(\"Color of the callout\").nullable(),\n rich_text: z.array(NotionUpdateBlock_RichTextSchema).describe(\"Array of rich text objects containing the callout content\"),\n}).passthrough().describe(\"Callout block-specific properties.\");\nconst NotionUpdateBlock_DividerBlockSchema = z.record(z.string(), z.unknown()).describe(\"Divider block-specific properties (empty object).\");\nconst NotionUpdateBlock_BookmarkBlockSchema = z.object({\n url: z.string().describe(\"URL of the bookmarked page\").nullable(),\n caption: z.array(NotionUpdateBlock_RichTextSchema).describe(\"Array of rich text objects for the bookmark caption\").nullable().optional(),\n}).passthrough().describe(\"Bookmark block-specific properties.\");\nconst NotionUpdateBlock_EquationBlockSchema = z.object({\n expression: z.string().describe(\"LaTeX formula string for the equation\").nullable(),\n}).passthrough().describe(\"Equation block-specific properties.\");\nconst NotionUpdateBlock_TemplateBlockSchema = z.object({\n children: z.array(z.record(z.string(), z.unknown())).describe(\"Array of nested block objects that define the template content\").nullable().optional(),\n rich_text: z.array(NotionUpdateBlock_RichTextSchema).describe(\"Array of rich text objects containing the template button text\"),\n}).passthrough().describe(\"Template block-specific properties.\");\nconst NotionUpdateBlock_HeadingBlockSchema = z.object({\n color: z.string().describe(\"Color of the heading\").nullable(),\n rich_text: z.array(NotionUpdateBlock_RichTextSchema).describe(\"Array of rich text objects containing the heading content\"),\n is_toggleable: z.boolean().describe(\"Whether the heading can be toggled to show/hide content\").nullable(),\n}).passthrough().describe(\"Heading block-specific properties (heading_1, heading_2, heading_3).\");\nconst NotionUpdateBlock_ParagraphBlockSchema = z.object({\n color: z.string().describe(\"Color of the block\").nullable(),\n children: z.array(z.record(z.string(), z.unknown())).describe(\"Array of nested block objects\").nullable().optional(),\n rich_text: z.array(NotionUpdateBlock_RichTextSchema).describe(\"Array of rich text objects containing the paragraph content\"),\n}).passthrough().describe(\"Paragraph block-specific properties.\");\nconst NotionUpdateBlock_TableRowBlockSchema = z.object({\n cells: z.array(z.array(NotionUpdateBlock_RichTextSchema)).describe(\"Array of arrays, where each inner array contains rich text objects representing a cell's content\"),\n}).passthrough().describe(\"Table row block-specific properties.\");\nconst NotionUpdateBlock_BreadcrumbBlockSchema = z.record(z.string(), z.unknown()).describe(\"Breadcrumb block-specific properties (empty object).\");\nconst NotionUpdateBlock_ChildPageBlockSchema = z.object({\n title: z.string().describe(\"Title of the child page\").nullable(),\n}).passthrough().describe(\"Child page block-specific properties.\");\nconst NotionUpdateBlock_PartialUserSchema = z.object({\n id: z.string().describe(\"UUIDv4 identifier of the user\").nullable(),\n object: z.string().describe(\"Always 'user'\").nullable(),\n}).passthrough().describe(\"Partial user object representing a Notion user.\");\nconst NotionUpdateBlock_ColumnListBlockSchema = z.record(z.string(), z.unknown()).describe(\"Column list block-specific properties (empty object).\");\nconst NotionUpdateBlock_LinkPreviewBlockSchema = z.object({\n url: z.string().describe(\"URL of the link preview\").nullable(),\n}).passthrough().describe(\"Link preview block-specific properties.\");\nconst NotionUpdateBlock_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(\"UUIDv4 identifier of the linked page\").nullable().optional(),\n comment_id: z.string().describe(\"UUIDv4 identifier of the linked comment\").nullable().optional(),\n database_id: z.string().describe(\"UUIDv4 identifier of the linked database\").nullable().optional(),\n}).passthrough().describe(\"Link to page block-specific properties.\");\nconst NotionUpdateBlock_SyncedFromBlockSchema = z.object({\n block_id: z.string().describe(\"UUIDv4 identifier of the original synced block\").nullable(),\n}).passthrough().describe(\"Reference to the original synced block.\");\nconst NotionUpdateBlock_SyncedBlockSchema = z.object({\n children: z.array(z.record(z.string(), z.unknown())).describe(\"Array of nested block objects\").nullable().optional(),\n synced_from: NotionUpdateBlock_SyncedFromBlockSchema.nullable().optional(),\n}).passthrough().describe(\"Synced block-specific properties.\");\nconst NotionUpdateBlock_ChildDatabaseBlockSchema = z.object({\n title: z.string().describe(\"Title of the child database\").nullable(),\n}).passthrough().describe(\"Child database block-specific properties.\");\nconst NotionUpdateBlock_TableOfContentsBlockSchema = z.object({\n color: z.string().describe(\"Color of the table of contents\").nullable().optional(),\n}).passthrough().describe(\"Table of contents block-specific properties.\");\nconst NotionUpdateBlock_BulletedListItemBlockSchema = z.object({\n color: z.string().describe(\"Color of the list item\").nullable(),\n children: z.array(z.record(z.string(), z.unknown())).describe(\"Array of nested block objects\").nullable().optional(),\n rich_text: z.array(NotionUpdateBlock_RichTextSchema).describe(\"Array of rich text objects containing the list item content\"),\n}).passthrough().describe(\"Bulleted list item block-specific properties.\");\nconst NotionUpdateBlock_NumberedListItemBlockSchema = z.object({\n color: z.string().describe(\"Color of the list item\").nullable(),\n children: z.array(z.record(z.string(), z.unknown())).describe(\"Array of nested block objects\").nullable().optional(),\n rich_text: z.array(NotionUpdateBlock_RichTextSchema).describe(\"Array of rich text objects containing the list item content\"),\n}).passthrough().describe(\"Numbered list item block-specific properties.\");\nexport const NotionUpdateBlockOutput = z.object({\n id: z.string().describe(\"Unique identifier of the block in UUIDv4 format\").nullable(),\n pdf: NotionUpdateBlock_PdfBlockSchema.nullable().optional(),\n code: NotionUpdateBlock_CodeBlockSchema.nullable().optional(),\n file: NotionUpdateBlock_FileBlockSchema.nullable().optional(),\n type: z.string().describe(\"The type of block. Possible values include: paragraph, heading_1, heading_2, heading_3, bulleted_list_item, numbered_list_item, to_do, toggle, code, quote, callout, divider, breadcrumb, table_of_contents, column_list, column, link_to_page, synced_block, template, link_preview, table, table_row, embed, bookmark, image, video, pdf, file, audio, child_page, child_database, equation, and others\").nullable(),\n audio: NotionUpdateBlock_AudioBlockSchema.nullable().optional(),\n embed: NotionUpdateBlock_EmbedBlockSchema.nullable().optional(),\n image: NotionUpdateBlock_ImageBlockSchema.nullable().optional(),\n quote: NotionUpdateBlock_QuoteBlockSchema.nullable().optional(),\n table: NotionUpdateBlock_TableBlockSchema.nullable().optional(),\n to_do: NotionUpdateBlock_ToDoBlockSchema.nullable().optional(),\n video: NotionUpdateBlock_VideoBlockSchema.nullable().optional(),\n column: NotionUpdateBlock_ColumnBlockSchema.nullable().optional(),\n object: z.string().describe(\"Always 'block'\").nullable(),\n parent: NotionUpdateBlock_ParentObjectSchema.nullable(),\n toggle: NotionUpdateBlock_ToggleBlockSchema.nullable().optional(),\n callout: NotionUpdateBlock_CalloutBlockSchema.nullable().optional(),\n divider: NotionUpdateBlock_DividerBlockSchema.nullable().optional(),\n archived: z.boolean().describe(\"Whether the block has been archived (deleted)\").nullable().optional(),\n bookmark: NotionUpdateBlock_BookmarkBlockSchema.nullable().optional(),\n equation: NotionUpdateBlock_EquationBlockSchema.nullable().optional(),\n in_trash: z.boolean().describe(\"Whether the block is in the trash\").nullable().optional(),\n template: NotionUpdateBlock_TemplateBlockSchema.nullable().optional(),\n heading_1: NotionUpdateBlock_HeadingBlockSchema.nullable().optional(),\n heading_2: NotionUpdateBlock_HeadingBlockSchema.nullable().optional(),\n heading_3: NotionUpdateBlock_HeadingBlockSchema.nullable().optional(),\n paragraph: NotionUpdateBlock_ParagraphBlockSchema.nullable().optional(),\n table_row: NotionUpdateBlock_TableRowBlockSchema.nullable().optional(),\n breadcrumb: NotionUpdateBlock_BreadcrumbBlockSchema.nullable().optional(),\n child_page: NotionUpdateBlock_ChildPageBlockSchema.nullable().optional(),\n created_by: NotionUpdateBlock_PartialUserSchema.nullable().optional(),\n column_list: NotionUpdateBlock_ColumnListBlockSchema.nullable().optional(),\n created_time: z.string().describe(\"ISO 8601 datetime string indicating when the block was created\").nullable().optional(),\n has_children: z.boolean().describe(\"Whether the block has child blocks nested within it\").nullable().optional(),\n link_preview: NotionUpdateBlock_LinkPreviewBlockSchema.nullable().optional(),\n link_to_page: NotionUpdateBlock_LinkToPageBlockSchema.nullable().optional(),\n synced_block: NotionUpdateBlock_SyncedBlockSchema.nullable().optional(),\n child_database: NotionUpdateBlock_ChildDatabaseBlockSchema.nullable().optional(),\n last_edited_by: NotionUpdateBlock_PartialUserSchema.nullable().optional(),\n last_edited_time: z.string().describe(\"ISO 8601 datetime string indicating when the block was last edited\").nullable().optional(),\n table_of_contents: NotionUpdateBlock_TableOfContentsBlockSchema.nullable().optional(),\n bulleted_list_item: NotionUpdateBlock_BulletedListItemBlockSchema.nullable().optional(),\n numbered_list_item: NotionUpdateBlock_NumberedListItemBlockSchema.nullable().optional(),\n}).passthrough().describe(\"Complete Block object returned by PATCH /v1/blocks/{block_id}.\\n\\nThe Update a Block endpoint returns a complete Block object with updated content.\\nThe response structure matches the Block object schema.\");\n\nexport const notionUpdateBlock = action(\"NOTION_UPDATE_BLOCK\", {\n slug: \"notion-update-block\",\n name: \"Update block\",\n description: \"Updates existing Notion block's text content. ⚠️ CRITICAL: Content limited to 2000 chars. Cannot change block type or archive blocks. Content exceeding 2000 chars will fail with validation error. For longer content, split across multiple blocks using add_multiple_page_content.\",\n input: NotionUpdateBlockInput,\n output: NotionUpdateBlockOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yBAAyB,EAAE,OAAO;CAC7C,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,8UAA8U;CAC3W,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,yUAAyU;CACvW,UAAU,EAAE,OAAO,CAAC,CAAC,S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