@keystrokehq/notion 0.1.0 → 0.1.2

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 +8 -8
  5. package/dist/actions/add-multiple-page-content.cjs.map +1 -1
  6. package/dist/actions/add-multiple-page-content.d.cts +88 -3
  7. package/dist/actions/add-multiple-page-content.d.cts.map +1 -1
  8. package/dist/actions/add-multiple-page-content.d.mts +88 -3
  9. package/dist/actions/add-multiple-page-content.d.mts.map +1 -1
  10. package/dist/actions/add-multiple-page-content.mjs +8 -8
  11. package/dist/actions/add-multiple-page-content.mjs.map +1 -1
  12. package/dist/actions/append-code-blocks.cjs +44 -44
  13. package/dist/actions/append-code-blocks.cjs.map +1 -1
  14. package/dist/actions/append-code-blocks.d.cts +849 -3
  15. package/dist/actions/append-code-blocks.d.cts.map +1 -1
  16. package/dist/actions/append-code-blocks.d.mts +849 -3
  17. package/dist/actions/append-code-blocks.d.mts.map +1 -1
  18. package/dist/actions/append-code-blocks.mjs +44 -44
  19. package/dist/actions/append-code-blocks.mjs.map +1 -1
  20. package/dist/actions/append-layout-blocks.cjs +44 -44
  21. package/dist/actions/append-layout-blocks.cjs.map +1 -1
  22. package/dist/actions/append-layout-blocks.d.cts +642 -3
  23. package/dist/actions/append-layout-blocks.d.cts.map +1 -1
  24. package/dist/actions/append-layout-blocks.d.mts +642 -3
  25. package/dist/actions/append-layout-blocks.d.mts.map +1 -1
  26. package/dist/actions/append-layout-blocks.mjs +44 -44
  27. package/dist/actions/append-layout-blocks.mjs.map +1 -1
  28. package/dist/actions/append-media-blocks.cjs +44 -44
  29. package/dist/actions/append-media-blocks.cjs.map +1 -1
  30. package/dist/actions/append-media-blocks.d.cts +996 -3
  31. package/dist/actions/append-media-blocks.d.cts.map +1 -1
  32. package/dist/actions/append-media-blocks.d.mts +996 -3
  33. package/dist/actions/append-media-blocks.d.mts.map +1 -1
  34. package/dist/actions/append-media-blocks.mjs +44 -44
  35. package/dist/actions/append-media-blocks.mjs.map +1 -1
  36. package/dist/actions/append-table-blocks.cjs +44 -44
  37. package/dist/actions/append-table-blocks.cjs.map +1 -1
  38. package/dist/actions/append-table-blocks.d.cts +624 -3
  39. package/dist/actions/append-table-blocks.d.cts.map +1 -1
  40. package/dist/actions/append-table-blocks.d.mts +624 -3
  41. package/dist/actions/append-table-blocks.d.mts.map +1 -1
  42. package/dist/actions/append-table-blocks.mjs +44 -44
  43. package/dist/actions/append-table-blocks.mjs.map +1 -1
  44. package/dist/actions/append-task-blocks.cjs +44 -44
  45. package/dist/actions/append-task-blocks.cjs.map +1 -1
  46. package/dist/actions/append-task-blocks.d.cts +826 -3
  47. package/dist/actions/append-task-blocks.d.cts.map +1 -1
  48. package/dist/actions/append-task-blocks.d.mts +826 -3
  49. package/dist/actions/append-task-blocks.d.mts.map +1 -1
  50. package/dist/actions/append-task-blocks.mjs +44 -44
  51. package/dist/actions/append-task-blocks.mjs.map +1 -1
  52. package/dist/actions/append-text-blocks.cjs +44 -44
  53. package/dist/actions/append-text-blocks.cjs.map +1 -1
  54. package/dist/actions/append-text-blocks.d.cts +1080 -3
  55. package/dist/actions/append-text-blocks.d.cts.map +1 -1
  56. package/dist/actions/append-text-blocks.d.mts +1080 -3
  57. package/dist/actions/append-text-blocks.d.mts.map +1 -1
  58. package/dist/actions/append-text-blocks.mjs +44 -44
  59. package/dist/actions/append-text-blocks.mjs.map +1 -1
  60. package/dist/actions/archive-notion-page.cjs +27 -27
  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 +27 -27
  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 +31 -31
  75. package/dist/actions/create-database.cjs.map +1 -1
  76. package/dist/actions/create-database.d.cts +139 -3
  77. package/dist/actions/create-database.d.cts.map +1 -1
  78. package/dist/actions/create-database.d.mts +139 -3
  79. package/dist/actions/create-database.d.mts.map +1 -1
  80. package/dist/actions/create-database.mjs +31 -31
  81. package/dist/actions/create-database.mjs.map +1 -1
  82. package/dist/actions/create-file-upload.cjs +8 -8
  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 +8 -8
  89. package/dist/actions/create-file-upload.mjs.map +1 -1
  90. package/dist/actions/create-notion-page.cjs +29 -29
  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 +29 -29
  97. package/dist/actions/create-notion-page.mjs.map +1 -1
  98. package/dist/actions/delete-block.cjs +53 -53
  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 +53 -53
  105. package/dist/actions/delete-block.mjs.map +1 -1
  106. package/dist/actions/duplicate-page.cjs +31 -31
  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 +31 -31
  113. package/dist/actions/duplicate-page.mjs.map +1 -1
  114. package/dist/actions/fetch-all-block-contents.cjs +45 -45
  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 +45 -45
  121. package/dist/actions/fetch-all-block-contents.mjs.map +1 -1
  122. package/dist/actions/fetch-block-contents.cjs +57 -57
  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 +57 -57
  129. package/dist/actions/fetch-block-contents.mjs.map +1 -1
  130. package/dist/actions/fetch-block-metadata.cjs +51 -51
  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 +51 -51
  137. package/dist/actions/fetch-block-metadata.mjs.map +1 -1
  138. package/dist/actions/fetch-comments.cjs +37 -37
  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 +37 -37
  145. package/dist/actions/fetch-comments.mjs.map +1 -1
  146. package/dist/actions/fetch-data.cjs +51 -51
  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 +51 -51
  153. package/dist/actions/fetch-data.mjs.map +1 -1
  154. package/dist/actions/fetch-database.cjs +27 -27
  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 +27 -27
  161. package/dist/actions/fetch-database.mjs.map +1 -1
  162. package/dist/actions/fetch-row.cjs +35 -35
  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 +35 -35
  169. package/dist/actions/fetch-row.mjs.map +1 -1
  170. package/dist/actions/get-about-user.cjs +7 -7
  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 +7 -7
  177. package/dist/actions/get-about-user.mjs.map +1 -1
  178. package/dist/actions/get-page-markdown.cjs +4 -4
  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 +4 -4
  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 +30 -30
  193. package/dist/actions/insert-row-database.cjs.map +1 -1
  194. package/dist/actions/insert-row-database.d.cts +163 -3
  195. package/dist/actions/insert-row-database.d.cts.map +1 -1
  196. package/dist/actions/insert-row-database.d.mts +163 -3
  197. package/dist/actions/insert-row-database.d.mts.map +1 -1
  198. package/dist/actions/insert-row-database.mjs +30 -30
  199. package/dist/actions/insert-row-database.mjs.map +1 -1
  200. package/dist/actions/insert-row-from-nl.cjs +1 -1
  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 +1 -1
  207. package/dist/actions/insert-row-from-nl.mjs.map +1 -1
  208. package/dist/actions/list-data-source-templates.cjs +4 -4
  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 +4 -4
  215. package/dist/actions/list-data-source-templates.mjs.map +1 -1
  216. package/dist/actions/list-file-uploads.cjs +7 -7
  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 +7 -7
  223. package/dist/actions/list-file-uploads.mjs.map +1 -1
  224. package/dist/actions/list-users.cjs +6 -6
  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 +6 -6
  231. package/dist/actions/list-users.mjs.map +1 -1
  232. package/dist/actions/move-page.cjs +27 -27
  233. package/dist/actions/move-page.cjs.map +1 -1
  234. package/dist/actions/move-page.d.cts +90 -3
  235. package/dist/actions/move-page.d.cts.map +1 -1
  236. package/dist/actions/move-page.d.mts +90 -3
  237. package/dist/actions/move-page.d.mts.map +1 -1
  238. package/dist/actions/move-page.mjs +27 -27
  239. package/dist/actions/move-page.mjs.map +1 -1
  240. package/dist/actions/query-data-source.cjs +18 -18
  241. package/dist/actions/query-data-source.cjs.map +1 -1
  242. package/dist/actions/query-data-source.d.cts +159 -3
  243. package/dist/actions/query-data-source.d.cts.map +1 -1
  244. package/dist/actions/query-data-source.d.mts +159 -3
  245. package/dist/actions/query-data-source.d.mts.map +1 -1
  246. package/dist/actions/query-data-source.mjs +18 -18
  247. package/dist/actions/query-data-source.mjs.map +1 -1
  248. package/dist/actions/query-database-with-filter.cjs +49 -49
  249. package/dist/actions/query-database-with-filter.cjs.map +1 -1
  250. package/dist/actions/query-database-with-filter.d.cts +214 -3
  251. package/dist/actions/query-database-with-filter.d.cts.map +1 -1
  252. package/dist/actions/query-database-with-filter.d.mts +214 -3
  253. package/dist/actions/query-database-with-filter.d.mts.map +1 -1
  254. package/dist/actions/query-database-with-filter.mjs +49 -49
  255. package/dist/actions/query-database-with-filter.mjs.map +1 -1
  256. package/dist/actions/query-database.cjs +38 -38
  257. package/dist/actions/query-database.cjs.map +1 -1
  258. package/dist/actions/query-database.d.cts +208 -3
  259. package/dist/actions/query-database.d.cts.map +1 -1
  260. package/dist/actions/query-database.d.mts +208 -3
  261. package/dist/actions/query-database.d.mts.map +1 -1
  262. package/dist/actions/query-database.mjs +38 -38
  263. package/dist/actions/query-database.mjs.map +1 -1
  264. package/dist/actions/replace-page-content.cjs +3 -3
  265. package/dist/actions/replace-page-content.cjs.map +1 -1
  266. package/dist/actions/replace-page-content.d.cts +1706 -3
  267. package/dist/actions/replace-page-content.d.cts.map +1 -1
  268. package/dist/actions/replace-page-content.d.mts +1706 -3
  269. package/dist/actions/replace-page-content.d.mts.map +1 -1
  270. package/dist/actions/replace-page-content.mjs +3 -3
  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 +19 -19
  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 +19 -19
  285. package/dist/actions/retrieve-database-property.mjs.map +1 -1
  286. package/dist/actions/retrieve-file-upload.cjs +5 -5
  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 +5 -5
  293. package/dist/actions/retrieve-file-upload.mjs.map +1 -1
  294. package/dist/actions/retrieve-page.cjs +34 -34
  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 +34 -34
  301. package/dist/actions/retrieve-page.mjs.map +1 -1
  302. package/dist/actions/search-notion-page.cjs +54 -54
  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 +54 -54
  309. package/dist/actions/search-notion-page.mjs.map +1 -1
  310. package/dist/actions/send-file-upload.cjs +7 -7
  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 +7 -7
  317. package/dist/actions/send-file-upload.mjs.map +1 -1
  318. package/dist/actions/update-block.cjs +55 -55
  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 +55 -55
  325. package/dist/actions/update-block.mjs.map +1 -1
  326. package/dist/actions/update-page.cjs +32 -32
  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 +32 -32
  333. package/dist/actions/update-page.mjs.map +1 -1
  334. package/dist/actions/update-row-database.cjs +31 -31
  335. package/dist/actions/update-row-database.cjs.map +1 -1
  336. package/dist/actions/update-row-database.d.cts +126 -3
  337. package/dist/actions/update-row-database.d.cts.map +1 -1
  338. package/dist/actions/update-row-database.d.mts +126 -3
  339. package/dist/actions/update-row-database.d.mts.map +1 -1
  340. package/dist/actions/update-row-database.mjs +31 -31
  341. package/dist/actions/update-row-database.mjs.map +1 -1
  342. package/dist/actions/update-schema-database.cjs +51 -51
  343. package/dist/actions/update-schema-database.cjs.map +1 -1
  344. package/dist/actions/update-schema-database.d.cts +314 -3
  345. package/dist/actions/update-schema-database.d.cts.map +1 -1
  346. package/dist/actions/update-schema-database.d.mts +314 -3
  347. package/dist/actions/update-schema-database.d.mts.map +1 -1
  348. package/dist/actions/update-schema-database.mjs +51 -51
  349. package/dist/actions/update-schema-database.mjs.map +1 -1
  350. package/dist/actions/upsert-row-database.cjs +4 -4
  351. package/dist/actions/upsert-row-database.cjs.map +1 -1
  352. package/dist/actions/upsert-row-database.d.cts +218 -3
  353. package/dist/actions/upsert-row-database.d.cts.map +1 -1
  354. package/dist/actions/upsert-row-database.d.mts +218 -3
  355. package/dist/actions/upsert-row-database.d.mts.map +1 -1
  356. package/dist/actions/upsert-row-database.mjs +4 -4
  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
package/README.md CHANGED
@@ -3,7 +3,7 @@
3
3
  Keystroke-managed integration.
4
4
 
5
5
  **App:** `notion`
6
- **Version:** `20260615_00`
6
+ **Version:** `20260702_00`
7
7
  **Actions:** 45
8
8
 
9
9
  ```ts
@@ -1 +1 @@
1
- {"version":3,"file":"action.cjs","names":["notion","executeNotionTool"],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { notion } from \"./app\";\nimport { executeNotionTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: z.ZodTypeAny;\n output: z.ZodTypeAny;\n },\n) {\n return notion.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output,\n async run(input) {\n return def.output.parse(await executeNotionTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OACd,MACA,KAOA;CACA,OAAOA,YAAAA,OAAO,OAAO;EACnB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAMC,gBAAAA,kBAAkB,MAAM,KAAgC,CAAC;EACzF;CACF,CAAC;AACH"}
1
+ {"version":3,"file":"action.cjs","names":["notion","executeNotionTool"],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { notion } from \"./app\";\nimport { executeNotionTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<TInput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output: z.ZodType;\n },\n) {\n return notion.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output as z.ZodTypeAny,\n async run(input) {\n return def.output.parse(await executeNotionTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OACd,MACA,KAOA;CACA,OAAOA,YAAAA,OAAO,OAAO;EACnB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAMC,gBAAAA,kBAAkB,MAAM,KAAgC,CAAC;EACzF;CACF,CAAC;AACH"}
@@ -1 +1 @@
1
- {"version":3,"file":"action.mjs","names":[],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { notion } from \"./app\";\nimport { executeNotionTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: z.ZodTypeAny;\n output: z.ZodTypeAny;\n },\n) {\n return notion.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output,\n async run(input) {\n return def.output.parse(await executeNotionTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OACd,MACA,KAOA;CACA,OAAO,OAAO,OAAO;EACnB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAM,kBAAkB,MAAM,KAAgC,CAAC;EACzF;CACF,CAAC;AACH"}
1
+ {"version":3,"file":"action.mjs","names":[],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { notion } from \"./app\";\nimport { executeNotionTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<TInput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output: z.ZodType;\n },\n) {\n return notion.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output as z.ZodTypeAny,\n async run(input) {\n return def.output.parse(await executeNotionTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OACd,MACA,KAOA;CACA,OAAO,OAAO,OAAO;EACnB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAM,kBAAkB,MAAM,KAAgC,CAAC;EACzF;CACF,CAAC;AACH"}
@@ -32,7 +32,7 @@ const NotionAddMultiplePageContentInput = zod.z.object({
32
32
  parent_block_id: zod.z.string().describe("The UUID of the parent page or block where content will be added AS CHILDREN (nested inside). ⚠️ COMMON MISTAKE: To add content AFTER a block (as siblings), use the page ID as parent_block_id and specify the block ID in the 'after' parameter. Using a heading block ID here will fail because headings cannot have children unless they are toggleable. CONTAINER BLOCKS that support children: pages, paragraph, toggle, callout, quote, bulleted_list_item, numbered_list_item, to_do, column, column_list, table, synced_block, and heading_1/2/3 ONLY if is_toggleable=True. NON-CONTAINER blocks that CANNOT have children: heading_1/2/3 (unless toggleable), divider, image, video, file, embed, bookmark, equation, breadcrumb, table_of_contents, code, and child_database (databases don't support block children - use database entry actions instead). Accepts 32 hex chars with/without hyphens. Example: '4b5f6e87-123a-456b-789c-9de8f7a9e4c1'. Get valid IDs from create_page, search_pages, or other Notion actions.")
33
33
  });
34
34
  const NotionAddMultiplePageContent_BlockParentSchema = zod.z.object({
35
- type: zod.z.string().describe("Type of parent: 'page_id', 'block_id', 'database_id', 'data_source_id', or 'workspace'."),
35
+ type: zod.z.string().describe("Type of parent: 'page_id', 'block_id', 'database_id', 'data_source_id', or 'workspace'.").nullable(),
36
36
  page_id: zod.z.string().describe("The page ID when parent type is 'page_id' (UUIDv4 format).").nullable().optional(),
37
37
  block_id: zod.z.string().describe("The block ID when parent type is 'block_id' (UUIDv4 format).").nullable().optional(),
38
38
  workspace: zod.z.boolean().describe("Always true when parent type is 'workspace'.").nullable().optional(),
@@ -40,16 +40,16 @@ const NotionAddMultiplePageContent_BlockParentSchema = zod.z.object({
40
40
  data_source_id: zod.z.string().describe("The data source ID when parent type is 'data_source_id' (UUIDv4 format).").nullable().optional()
41
41
  }).describe("Information about the parent container of a block.");
42
42
  const NotionAddMultiplePageContent_PartialUserSchema = zod.z.object({
43
- id: zod.z.string().describe("Unique identifier for the user (UUID format)."),
43
+ id: zod.z.string().describe("Unique identifier for the user (UUID format).").nullable(),
44
44
  name: zod.z.string().describe("User's name as displayed in Notion.").nullable().optional(),
45
45
  type: zod.z.string().describe("Type of user: 'person' or 'bot'.").nullable().optional(),
46
- object: zod.z.string().describe("Always 'user'."),
46
+ object: zod.z.string().describe("Always 'user'.").nullable(),
47
47
  avatar_url: zod.z.string().describe("URL of the user's chosen avatar image.").nullable().optional()
48
48
  }).describe("Partial user object representing a Notion user.");
49
49
  const NotionAddMultiplePageContent_BlockSchema = zod.z.object({
50
- id: zod.z.string().describe("Unique identifier for the block (UUIDv4 format)."),
51
- type: zod.z.string().describe("The type of block (e.g., 'paragraph', 'heading_1', 'heading_2', 'heading_3', 'bulleted_list_item', 'numbered_list_item', 'to_do', 'toggle', 'quote', 'callout', 'code', 'divider', 'bookmark', 'embed', 'file', 'image', 'video', 'audio', 'pdf', 'table', 'table_row', 'column_list', 'column', 'child_page', 'child_database', 'synced_block', 'template', 'equation', 'breadcrumb', 'link_preview', 'table_of_contents')."),
52
- object: zod.z.string().describe("Always 'block'."),
50
+ id: zod.z.string().describe("Unique identifier for the block (UUIDv4 format).").nullable(),
51
+ type: zod.z.string().describe("The type of block (e.g., 'paragraph', 'heading_1', 'heading_2', 'heading_3', 'bulleted_list_item', 'numbered_list_item', 'to_do', 'toggle', 'quote', 'callout', 'code', 'divider', 'bookmark', 'embed', 'file', 'image', 'video', 'audio', 'pdf', 'table', 'table_row', 'column_list', 'column', 'child_page', 'child_database', 'synced_block', 'template', 'equation', 'breadcrumb', 'link_preview', 'table_of_contents').").nullable(),
52
+ object: zod.z.string().describe("Always 'block'.").nullable(),
53
53
  parent: NotionAddMultiplePageContent_BlockParentSchema.nullable().optional(),
54
54
  archived: zod.z.boolean().describe("Whether the block is archived.").nullable().optional(),
55
55
  in_trash: zod.z.boolean().describe("Whether the block has been deleted.").nullable().optional(),
@@ -62,9 +62,9 @@ const NotionAddMultiplePageContent_BlockSchema = zod.z.object({
62
62
  const NotionAddMultiplePageContentOutput = zod.z.object({
63
63
  type: zod.z.string().describe("The type of items in the results array, typically 'block' for this endpoint.").nullable().optional(),
64
64
  block: zod.z.record(zod.z.string(), zod.z.unknown()).describe("An object containing block-specific pagination information.").nullable().optional(),
65
- object: zod.z.string().describe("Always 'list' for paginated list responses."),
65
+ object: zod.z.string().describe("Always 'list' for paginated list responses.").nullable(),
66
66
  results: zod.z.array(NotionAddMultiplePageContent_BlockSchema).describe("Array of newly created block objects."),
67
- has_more: zod.z.boolean().describe("Whether there are more results available beyond this page. False when no more results remain."),
67
+ has_more: zod.z.boolean().describe("Whether there are more results available beyond this page. False when no more results remain.").nullable(),
68
68
  next_cursor: zod.z.string().describe("Cursor value that can be used to retrieve the next page of results. Null if there are no more results.").nullable().optional()
69
69
  }).describe("Response model aligned with Notion's PATCH /v1/blocks/{block_id}/children.\n\nReturns a paginated list object containing the newly created block objects.");
70
70
  const notionAddMultiplePageContent = require_action.action("NOTION_ADD_MULTIPLE_PAGE_CONTENT", {
@@ -1 +1 @@
1
- {"version":3,"file":"add-multiple-page-content.cjs","names":["z","action"],"sources":["../../src/actions/add-multiple-page-content.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NotionAddMultiplePageContentInput: z.ZodTypeAny = z.object({\n after: z.string().describe(\"Block ID to insert content AFTER (as siblings). Use this to add content after a heading: set parent_block_id to the PAGE ID and 'after' to the HEADING block ID. The new blocks appear immediately after this block at the same nesting level. If omitted, blocks are appended to the end of the parent's children list.\").optional(),\n content_blocks: z.array(z.object({\n content_block: z.union([z.object({\n bold: z.boolean().default(false).describe(\"Indicates if the text is bold.\").optional(),\n code: z.boolean().default(false).describe(\"Indicates if the text is formatted as code.\").optional(),\n link: z.string().nullable().optional(),\n color: z.string().default(\"default\").describe(\"The color of the text background or text itself.\").optional(),\n italic: z.boolean().default(false).describe(\"Indicates if the text is italic.\").optional(),\n content: z.string().nullable().optional(),\n underline: z.boolean().default(false).describe(\"Indicates if the text is underlined.\").optional(),\n strikethrough: z.boolean().default(false).describe(\"Indicates if the text has strikethrough.\").optional(),\n block_property: z.enum([\"paragraph\", \"heading_1\", \"heading_2\", \"heading_3\", \"callout\", \"to_do\", \"toggle\", \"quote\", \"bulleted_list_item\", \"numbered_list_item\", \"file\", \"image\", \"video\", \"divider\"]).default(\"paragraph\").describe(\"The block property of the block to be added. **Common text blocks:** `paragraph`, `heading_1`, `heading_2`, `heading_3`, `callout`, `to_do`, `toggle`, `quote`, `bulleted_list_item`, `numbered_list_item`. **Special blocks:** `divider` (creates a horizontal divider line, no content required). **Media/embed blocks:** `file`, `image`, `video` (requires `link` field with external URL - direct file uploads not supported). \\n\\n**NOTE:** Notion API only supports heading levels 1-3. heading_4, heading_5, etc. are automatically converted to heading_3.\").optional(),\n}).describe(\"Include these fields in the json: {'content': 'Some words', 'link': 'https://random-link.com'. For content styling, refer to https://developers.notion.com/reference/rich-text.\\n\\nENHANCED: The 'content' field now automatically detects and parses markdown formatting - supports bold (**text**), italic (*text*), strikethrough (~~text~~), inline code (`code`), and links ([text](url)). Headers (# ## ###) are handled via block_property.\"), z.record(z.string(), z.unknown())]),\n}).describe(\"Represents a single content block that can be added to a Notion page.\")).describe(\"⚠️ CRITICAL: Notion API enforces 2000 char limit per text.content field. Content >2000 chars auto-splits.\\nList of blocks to add (max 100). Each item can be in EITHER format:\\nA) Unwrapped (recommended): {'content': 'text', 'block_property': 'paragraph'}\\nB) Wrapped: {'content_block': {'content': 'text', 'block_property': 'paragraph'}}\\nBlock content formats:\\n1) Simplified: {'content': 'text (REQUIRED for text blocks)', 'block_property': 'type'}\\n2) Full Notion: {'type': 'code', 'code': {...}} for complex blocks.\\nAuto-features: Markdown parsing (**bold** *italic* ~~strike~~ `code` [link](url)).\\nValid block_property values: paragraph, heading_1-3, callout, to_do, toggle, quote, bulleted/numbered_list_item, divider.\\nNOTE: 'code' and 'table' blocks require full Notion format with nested children/properties. 'divider' blocks don't require content.\\n⚠️ UNSUPPORTED: child_database (use NOTION_CREATE_DATABASE), child_page (use NOTION_CREATE_NOTION_PAGE), link_preview (read-only).\"),\n parent_block_id: z.string().describe(\"The UUID of the parent page or block where content will be added AS CHILDREN (nested inside). ⚠️ COMMON MISTAKE: To add content AFTER a block (as siblings), use the page ID as parent_block_id and specify the block ID in the 'after' parameter. Using a heading block ID here will fail because headings cannot have children unless they are toggleable. CONTAINER BLOCKS that support children: pages, paragraph, toggle, callout, quote, bulleted_list_item, numbered_list_item, to_do, column, column_list, table, synced_block, and heading_1/2/3 ONLY if is_toggleable=True. NON-CONTAINER blocks that CANNOT have children: heading_1/2/3 (unless toggleable), divider, image, video, file, embed, bookmark, equation, breadcrumb, table_of_contents, code, and child_database (databases don't support block children - use database entry actions instead). Accepts 32 hex chars with/without hyphens. Example: '4b5f6e87-123a-456b-789c-9de8f7a9e4c1'. Get valid IDs from create_page, search_pages, or other Notion actions.\"),\n});\nconst NotionAddMultiplePageContent_BlockParentSchema: z.ZodTypeAny = z.object({\n type: z.string().describe(\"Type of parent: 'page_id', 'block_id', 'database_id', 'data_source_id', or 'workspace'.\"),\n page_id: z.string().describe(\"The page ID when parent type is 'page_id' (UUIDv4 format).\").nullable().optional(),\n block_id: z.string().describe(\"The block ID when parent type is 'block_id' (UUIDv4 format).\").nullable().optional(),\n workspace: z.boolean().describe(\"Always true when parent type is 'workspace'.\").nullable().optional(),\n database_id: z.string().describe(\"The database ID when parent type is 'database_id' or 'data_source_id' (UUIDv4 format).\").nullable().optional(),\n data_source_id: z.string().describe(\"The data source ID when parent type is 'data_source_id' (UUIDv4 format).\").nullable().optional(),\n}).describe(\"Information about the parent container of a block.\");\nconst NotionAddMultiplePageContent_PartialUserSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier for the user (UUID format).\"),\n name: z.string().describe(\"User's name as displayed in Notion.\").nullable().optional(),\n type: z.string().describe(\"Type of user: 'person' or 'bot'.\").nullable().optional(),\n object: z.string().describe(\"Always 'user'.\"),\n avatar_url: z.string().describe(\"URL of the user's chosen avatar image.\").nullable().optional(),\n}).describe(\"Partial user object representing a Notion user.\");\nconst NotionAddMultiplePageContent_BlockSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier for the block (UUIDv4 format).\"),\n type: z.string().describe(\"The type of block (e.g., 'paragraph', 'heading_1', 'heading_2', 'heading_3', 'bulleted_list_item', 'numbered_list_item', 'to_do', 'toggle', 'quote', 'callout', 'code', 'divider', 'bookmark', 'embed', 'file', 'image', 'video', 'audio', 'pdf', 'table', 'table_row', 'column_list', 'column', 'child_page', 'child_database', 'synced_block', 'template', 'equation', 'breadcrumb', 'link_preview', 'table_of_contents').\"),\n object: z.string().describe(\"Always 'block'.\"),\n parent: NotionAddMultiplePageContent_BlockParentSchema.nullable().optional(),\n archived: z.boolean().describe(\"Whether the block is archived.\").nullable().optional(),\n in_trash: z.boolean().describe(\"Whether the block has been deleted.\").nullable().optional(),\n created_by: NotionAddMultiplePageContent_PartialUserSchema.nullable().optional(),\n created_time: z.string().describe(\"Timestamp when the block was created (ISO 8601 format).\").nullable().optional(),\n has_children: z.boolean().describe(\"Whether the block contains nested child blocks.\").nullable().optional(),\n last_edited_by: NotionAddMultiplePageContent_PartialUserSchema.nullable().optional(),\n last_edited_time: z.string().describe(\"Timestamp when the block was last edited (ISO 8601 format).\").nullable().optional(),\n}).describe(\"Represents a Notion block object.\");\nexport const NotionAddMultiplePageContentOutput: z.ZodTypeAny = z.object({\n type: z.string().describe(\"The type of items in the results array, typically 'block' for this endpoint.\").nullable().optional(),\n block: z.record(z.string(), z.unknown()).describe(\"An object containing block-specific pagination information.\").nullable().optional(),\n object: z.string().describe(\"Always 'list' for paginated list responses.\"),\n results: z.array(NotionAddMultiplePageContent_BlockSchema).describe(\"Array of newly created block objects.\"),\n has_more: z.boolean().describe(\"Whether there are more results available beyond this page. False when no more results remain.\"),\n next_cursor: z.string().describe(\"Cursor value that can be used to retrieve the next page of results. Null if there are no more results.\").nullable().optional(),\n}).describe(\"Response model aligned with Notion's PATCH /v1/blocks/{block_id}/children.\\n\\nReturns a paginated list object containing the newly created block objects.\");\n\nexport const notionAddMultiplePageContent = action(\"NOTION_ADD_MULTIPLE_PAGE_CONTENT\", {\n slug: \"notion-add-multiple-page-content\",\n name: \"Add multiple content blocks (bulk, user-friendly)\",\n description: \"Bulk-add content blocks to Notion. Text >2000 chars auto-splits. Parses markdown formatting. ⚠️ PARENT BLOCK TYPES: Content is added AS CHILDREN of parent_block_id. - To add content AFTER a heading, use PAGE ID as parent + heading ID in 'after' param. - Headings CANNOT have children unless is_toggleable=True. Simplified format: {'content': 'text', 'block_property': 'paragraph'} Full format for code: {'type': 'code', 'code': {'rich_text': [...], 'language': 'python'}} Array format also supported (auto-normalized): [{\\\"parent_block_id\\\": \\\"...\\\"}, {block1}, {block2}] => proper request structure\",\n input: NotionAddMultiplePageContentInput,\n output: NotionAddMultiplePageContentOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAkDA,IAAAA,EAAE,OAAO;CACtE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0TAA0T,CAAC,CAAC,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A6C;CACzE,SAASA,IAAAA,EAAE,MAAM,wCAAwC,CAAC,CAAC,SAAS,uCAAuC;CAC3G,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,+FAA+F;CAC9H,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wGAAwG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjK,CAAC,CAAC,CAAC,SAAS,2JAA2J;AAEvK,MAAa,+BAA+BC,eAAAA,OAAO,oCAAoC;CACrF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"add-multiple-page-content.cjs","names":["z","action"],"sources":["../../src/actions/add-multiple-page-content.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NotionAddMultiplePageContentInput = z.object({\n after: z.string().describe(\"Block ID to insert content AFTER (as siblings). Use this to add content after a heading: set parent_block_id to the PAGE ID and 'after' to the HEADING block ID. The new blocks appear immediately after this block at the same nesting level. If omitted, blocks are appended to the end of the parent's children list.\").optional(),\n content_blocks: z.array(z.object({\n content_block: z.union([z.object({\n bold: z.boolean().default(false).describe(\"Indicates if the text is bold.\").optional(),\n code: z.boolean().default(false).describe(\"Indicates if the text is formatted as code.\").optional(),\n link: z.string().nullable().optional(),\n color: z.string().default(\"default\").describe(\"The color of the text background or text itself.\").optional(),\n italic: z.boolean().default(false).describe(\"Indicates if the text is italic.\").optional(),\n content: z.string().nullable().optional(),\n underline: z.boolean().default(false).describe(\"Indicates if the text is underlined.\").optional(),\n strikethrough: z.boolean().default(false).describe(\"Indicates if the text has strikethrough.\").optional(),\n block_property: z.enum([\"paragraph\", \"heading_1\", \"heading_2\", \"heading_3\", \"callout\", \"to_do\", \"toggle\", \"quote\", \"bulleted_list_item\", \"numbered_list_item\", \"file\", \"image\", \"video\", \"divider\"]).default(\"paragraph\").describe(\"The block property of the block to be added. **Common text blocks:** `paragraph`, `heading_1`, `heading_2`, `heading_3`, `callout`, `to_do`, `toggle`, `quote`, `bulleted_list_item`, `numbered_list_item`. **Special blocks:** `divider` (creates a horizontal divider line, no content required). **Media/embed blocks:** `file`, `image`, `video` (requires `link` field with external URL - direct file uploads not supported). \\n\\n**NOTE:** Notion API only supports heading levels 1-3. heading_4, heading_5, etc. are automatically converted to heading_3.\").optional(),\n}).describe(\"Include these fields in the json: {'content': 'Some words', 'link': 'https://random-link.com'. For content styling, refer to https://developers.notion.com/reference/rich-text.\\n\\nENHANCED: The 'content' field now automatically detects and parses markdown formatting - supports bold (**text**), italic (*text*), strikethrough (~~text~~), inline code (`code`), and links ([text](url)). Headers (# ## ###) are handled via block_property.\"), z.record(z.string(), z.unknown())]),\n}).describe(\"Represents a single content block that can be added to a Notion page.\")).describe(\"⚠️ CRITICAL: Notion API enforces 2000 char limit per text.content field. Content >2000 chars auto-splits.\\nList of blocks to add (max 100). Each item can be in EITHER format:\\nA) Unwrapped (recommended): {'content': 'text', 'block_property': 'paragraph'}\\nB) Wrapped: {'content_block': {'content': 'text', 'block_property': 'paragraph'}}\\nBlock content formats:\\n1) Simplified: {'content': 'text (REQUIRED for text blocks)', 'block_property': 'type'}\\n2) Full Notion: {'type': 'code', 'code': {...}} for complex blocks.\\nAuto-features: Markdown parsing (**bold** *italic* ~~strike~~ `code` [link](url)).\\nValid block_property values: paragraph, heading_1-3, callout, to_do, toggle, quote, bulleted/numbered_list_item, divider.\\nNOTE: 'code' and 'table' blocks require full Notion format with nested children/properties. 'divider' blocks don't require content.\\n⚠️ UNSUPPORTED: child_database (use NOTION_CREATE_DATABASE), child_page (use NOTION_CREATE_NOTION_PAGE), link_preview (read-only).\"),\n parent_block_id: z.string().describe(\"The UUID of the parent page or block where content will be added AS CHILDREN (nested inside). ⚠️ COMMON MISTAKE: To add content AFTER a block (as siblings), use the page ID as parent_block_id and specify the block ID in the 'after' parameter. Using a heading block ID here will fail because headings cannot have children unless they are toggleable. CONTAINER BLOCKS that support children: pages, paragraph, toggle, callout, quote, bulleted_list_item, numbered_list_item, to_do, column, column_list, table, synced_block, and heading_1/2/3 ONLY if is_toggleable=True. NON-CONTAINER blocks that CANNOT have children: heading_1/2/3 (unless toggleable), divider, image, video, file, embed, bookmark, equation, breadcrumb, table_of_contents, code, and child_database (databases don't support block children - use database entry actions instead). Accepts 32 hex chars with/without hyphens. Example: '4b5f6e87-123a-456b-789c-9de8f7a9e4c1'. Get valid IDs from create_page, search_pages, or other Notion actions.\"),\n});\nconst NotionAddMultiplePageContent_BlockParentSchema = z.object({\n type: z.string().describe(\"Type of parent: 'page_id', 'block_id', 'database_id', 'data_source_id', or 'workspace'.\").nullable(),\n page_id: z.string().describe(\"The page ID when parent type is 'page_id' (UUIDv4 format).\").nullable().optional(),\n block_id: z.string().describe(\"The block ID when parent type is 'block_id' (UUIDv4 format).\").nullable().optional(),\n workspace: z.boolean().describe(\"Always true when parent type is 'workspace'.\").nullable().optional(),\n database_id: z.string().describe(\"The database ID when parent type is 'database_id' or 'data_source_id' (UUIDv4 format).\").nullable().optional(),\n data_source_id: z.string().describe(\"The data source ID when parent type is 'data_source_id' (UUIDv4 format).\").nullable().optional(),\n}).describe(\"Information about the parent container of a block.\");\nconst NotionAddMultiplePageContent_PartialUserSchema = z.object({\n id: z.string().describe(\"Unique identifier for the user (UUID format).\").nullable(),\n name: z.string().describe(\"User's name as displayed in Notion.\").nullable().optional(),\n type: z.string().describe(\"Type of user: 'person' or 'bot'.\").nullable().optional(),\n object: z.string().describe(\"Always 'user'.\").nullable(),\n avatar_url: z.string().describe(\"URL of the user's chosen avatar image.\").nullable().optional(),\n}).describe(\"Partial user object representing a Notion user.\");\nconst NotionAddMultiplePageContent_BlockSchema = z.object({\n id: z.string().describe(\"Unique identifier for the block (UUIDv4 format).\").nullable(),\n type: z.string().describe(\"The type of block (e.g., 'paragraph', 'heading_1', 'heading_2', 'heading_3', 'bulleted_list_item', 'numbered_list_item', 'to_do', 'toggle', 'quote', 'callout', 'code', 'divider', 'bookmark', 'embed', 'file', 'image', 'video', 'audio', 'pdf', 'table', 'table_row', 'column_list', 'column', 'child_page', 'child_database', 'synced_block', 'template', 'equation', 'breadcrumb', 'link_preview', 'table_of_contents').\").nullable(),\n object: z.string().describe(\"Always 'block'.\").nullable(),\n parent: NotionAddMultiplePageContent_BlockParentSchema.nullable().optional(),\n archived: z.boolean().describe(\"Whether the block is archived.\").nullable().optional(),\n in_trash: z.boolean().describe(\"Whether the block has been deleted.\").nullable().optional(),\n created_by: NotionAddMultiplePageContent_PartialUserSchema.nullable().optional(),\n created_time: z.string().describe(\"Timestamp when the block was created (ISO 8601 format).\").nullable().optional(),\n has_children: z.boolean().describe(\"Whether the block contains nested child blocks.\").nullable().optional(),\n last_edited_by: NotionAddMultiplePageContent_PartialUserSchema.nullable().optional(),\n last_edited_time: z.string().describe(\"Timestamp when the block was last edited (ISO 8601 format).\").nullable().optional(),\n}).describe(\"Represents a Notion block object.\");\nexport const NotionAddMultiplePageContentOutput = z.object({\n type: z.string().describe(\"The type of items in the results array, typically 'block' for this endpoint.\").nullable().optional(),\n block: z.record(z.string(), z.unknown()).describe(\"An object containing block-specific pagination information.\").nullable().optional(),\n object: z.string().describe(\"Always 'list' for paginated list responses.\").nullable(),\n results: z.array(NotionAddMultiplePageContent_BlockSchema).describe(\"Array of newly created block objects.\"),\n has_more: z.boolean().describe(\"Whether there are more results available beyond this page. False when no more results remain.\").nullable(),\n next_cursor: z.string().describe(\"Cursor value that can be used to retrieve the next page of results. Null if there are no more results.\").nullable().optional(),\n}).describe(\"Response model aligned with Notion's PATCH /v1/blocks/{block_id}/children.\\n\\nReturns a paginated list object containing the newly created block objects.\");\n\nexport const notionAddMultiplePageContent = action(\"NOTION_ADD_MULTIPLE_PAGE_CONTENT\", {\n slug: \"notion-add-multiple-page-content\",\n name: \"Add multiple content blocks (bulk, user-friendly)\",\n description: \"Bulk-add content blocks to Notion. Text >2000 chars auto-splits. Parses markdown formatting. ⚠️ PARENT BLOCK TYPES: Content is added AS CHILDREN of parent_block_id. - To add content AFTER a heading, use PAGE ID as parent + heading ID in 'after' param. - Headings CANNOT have children unless is_toggleable=True. Simplified format: {'content': 'text', 'block_property': 'paragraph'} Full format for code: {'type': 'code', 'code': {'rich_text': [...], 'language': 'python'}} Array format also supported (auto-normalized): [{\\\"parent_block_id\\\": \\\"...\\\"}, {block1}, {block2}] => proper request structure\",\n input: NotionAddMultiplePageContentInput,\n output: NotionAddMultiplePageContentOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAoCA,IAAAA,EAAE,OAAO;CACxD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0TAA0T,CAAC,CAAC,SAAS;CAChW,gBAAgBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,EACjC,eAAeA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,OAAO;EACjC,MAAMA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;EACrF,MAAMA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;EAClG,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrC,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,SAAS,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;EAC3G,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;EACzF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxC,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;EAChG,eAAeA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAA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AgB,+CAA+C,SAAS,CAAC,CAAC,SAAS;CACnF,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3H,CAAC,CAAC,CAAC,SAAS,mCAAmC;AAC/C,MAAa,qCAAqCA,IAAAA,EAAE,OAAO;CACzD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9H,OAAOA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrI,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CACpF,SAASA,IAAAA,EAAE,MAAM,wCAAwC,CAAC,CAAC,SAAS,uCAAuC;CAC3G,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,+FAA+F,CAAC,CAAC,SAAS;CACzI,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wGAAwG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjK,CAAC,CAAC,CAAC,SAAS,2JAA2J;AAEvK,MAAa,+BAA+BC,eAAAA,OAAO,oCAAoC;CACrF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,94 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/add-multiple-page-content.d.ts
4
- declare const NotionAddMultiplePageContentInput: z.ZodTypeAny;
5
- declare const NotionAddMultiplePageContentOutput: z.ZodTypeAny;
6
- declare const notionAddMultiplePageContent: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const NotionAddMultiplePageContentInput: z.ZodObject<{
5
+ after: z.ZodOptional<z.ZodString>;
6
+ content_blocks: z.ZodArray<z.ZodObject<{
7
+ content_block: z.ZodUnion<readonly [z.ZodObject<{
8
+ bold: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
9
+ code: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
10
+ link: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11
+ color: z.ZodOptional<z.ZodDefault<z.ZodString>>;
12
+ italic: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
13
+ content: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
+ underline: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
15
+ strikethrough: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
16
+ block_property: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
17
+ file: "file";
18
+ quote: "quote";
19
+ image: "image";
20
+ to_do: "to_do";
21
+ video: "video";
22
+ toggle: "toggle";
23
+ callout: "callout";
24
+ divider: "divider";
25
+ heading_1: "heading_1";
26
+ heading_2: "heading_2";
27
+ heading_3: "heading_3";
28
+ paragraph: "paragraph";
29
+ bulleted_list_item: "bulleted_list_item";
30
+ numbered_list_item: "numbered_list_item";
31
+ }>>>;
32
+ }, z.core.$strip>, z.ZodRecord<z.ZodString, z.ZodUnknown>]>;
33
+ }, z.core.$strip>>;
34
+ parent_block_id: z.ZodString;
35
+ }, z.core.$strip>;
36
+ declare const NotionAddMultiplePageContentOutput: z.ZodObject<{
37
+ type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
38
+ block: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
39
+ object: z.ZodNullable<z.ZodString>;
40
+ results: z.ZodArray<z.ZodObject<{
41
+ id: z.ZodNullable<z.ZodString>;
42
+ type: z.ZodNullable<z.ZodString>;
43
+ object: z.ZodNullable<z.ZodString>;
44
+ parent: z.ZodOptional<z.ZodNullable<z.ZodObject<{
45
+ type: z.ZodNullable<z.ZodString>;
46
+ page_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
47
+ block_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
48
+ workspace: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
49
+ database_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
50
+ data_source_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
51
+ }, z.core.$strip>>>;
52
+ archived: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
53
+ in_trash: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
54
+ created_by: z.ZodOptional<z.ZodNullable<z.ZodObject<{
55
+ id: z.ZodNullable<z.ZodString>;
56
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
57
+ type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
58
+ object: z.ZodNullable<z.ZodString>;
59
+ avatar_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
60
+ }, z.core.$strip>>>;
61
+ created_time: z.ZodOptional<z.ZodNullable<z.ZodString>>;
62
+ has_children: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
63
+ last_edited_by: z.ZodOptional<z.ZodNullable<z.ZodObject<{
64
+ id: z.ZodNullable<z.ZodString>;
65
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
66
+ type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
67
+ object: z.ZodNullable<z.ZodString>;
68
+ avatar_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
69
+ }, z.core.$strip>>>;
70
+ last_edited_time: z.ZodOptional<z.ZodNullable<z.ZodString>>;
71
+ }, z.core.$strip>>;
72
+ has_more: z.ZodNullable<z.ZodBoolean>;
73
+ next_cursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
74
+ }, z.core.$strip>;
75
+ declare const notionAddMultiplePageContent: import("@keystrokehq/action").WorkflowActionDefinition<{
76
+ content_blocks: {
77
+ content_block: Record<string, unknown> | {
78
+ bold?: boolean | undefined;
79
+ code?: boolean | undefined;
80
+ link?: string | null | undefined;
81
+ color?: string | undefined;
82
+ italic?: boolean | undefined;
83
+ content?: string | null | undefined;
84
+ underline?: boolean | undefined;
85
+ strikethrough?: boolean | undefined;
86
+ block_property?: "file" | "quote" | "image" | "to_do" | "video" | "toggle" | "callout" | "divider" | "heading_1" | "heading_2" | "heading_3" | "paragraph" | "bulleted_list_item" | "numbered_list_item" | undefined;
87
+ };
88
+ }[];
89
+ parent_block_id: string;
90
+ after?: string | undefined;
91
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
92
  //#endregion
8
93
  export { notionAddMultiplePageContent };
9
94
  //# sourceMappingURL=add-multiple-page-content.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"add-multiple-page-content.d.cts","names":[],"sources":["../../src/actions/add-multiple-page-content.ts"],"mappings":";;;cAIa,iCAAA,EAAmC,CAAA,CAAE,UAgBhD;AAAA,cA6BW,kCAAA,EAAoC,CAAA,CAAE,UAOqH;AAAA,cAE3J,4BAAA,gCAA4B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"add-multiple-page-content.d.cts","names":[],"sources":["../../src/actions/add-multiple-page-content.ts"],"mappings":";;;cAIa,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cA6CjC,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cASlC,4BAAA,gCAA4B,wBAAA;;mBAMvC,MAAA"}
@@ -1,9 +1,94 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/add-multiple-page-content.d.ts
4
- declare const NotionAddMultiplePageContentInput: z.ZodTypeAny;
5
- declare const NotionAddMultiplePageContentOutput: z.ZodTypeAny;
6
- declare const notionAddMultiplePageContent: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const NotionAddMultiplePageContentInput: z.ZodObject<{
5
+ after: z.ZodOptional<z.ZodString>;
6
+ content_blocks: z.ZodArray<z.ZodObject<{
7
+ content_block: z.ZodUnion<readonly [z.ZodObject<{
8
+ bold: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
9
+ code: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
10
+ link: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11
+ color: z.ZodOptional<z.ZodDefault<z.ZodString>>;
12
+ italic: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
13
+ content: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
+ underline: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
15
+ strikethrough: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
16
+ block_property: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
17
+ file: "file";
18
+ quote: "quote";
19
+ image: "image";
20
+ to_do: "to_do";
21
+ video: "video";
22
+ toggle: "toggle";
23
+ callout: "callout";
24
+ divider: "divider";
25
+ heading_1: "heading_1";
26
+ heading_2: "heading_2";
27
+ heading_3: "heading_3";
28
+ paragraph: "paragraph";
29
+ bulleted_list_item: "bulleted_list_item";
30
+ numbered_list_item: "numbered_list_item";
31
+ }>>>;
32
+ }, z.core.$strip>, z.ZodRecord<z.ZodString, z.ZodUnknown>]>;
33
+ }, z.core.$strip>>;
34
+ parent_block_id: z.ZodString;
35
+ }, z.core.$strip>;
36
+ declare const NotionAddMultiplePageContentOutput: z.ZodObject<{
37
+ type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
38
+ block: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
39
+ object: z.ZodNullable<z.ZodString>;
40
+ results: z.ZodArray<z.ZodObject<{
41
+ id: z.ZodNullable<z.ZodString>;
42
+ type: z.ZodNullable<z.ZodString>;
43
+ object: z.ZodNullable<z.ZodString>;
44
+ parent: z.ZodOptional<z.ZodNullable<z.ZodObject<{
45
+ type: z.ZodNullable<z.ZodString>;
46
+ page_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
47
+ block_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
48
+ workspace: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
49
+ database_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
50
+ data_source_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
51
+ }, z.core.$strip>>>;
52
+ archived: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
53
+ in_trash: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
54
+ created_by: z.ZodOptional<z.ZodNullable<z.ZodObject<{
55
+ id: z.ZodNullable<z.ZodString>;
56
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
57
+ type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
58
+ object: z.ZodNullable<z.ZodString>;
59
+ avatar_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
60
+ }, z.core.$strip>>>;
61
+ created_time: z.ZodOptional<z.ZodNullable<z.ZodString>>;
62
+ has_children: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
63
+ last_edited_by: z.ZodOptional<z.ZodNullable<z.ZodObject<{
64
+ id: z.ZodNullable<z.ZodString>;
65
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
66
+ type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
67
+ object: z.ZodNullable<z.ZodString>;
68
+ avatar_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
69
+ }, z.core.$strip>>>;
70
+ last_edited_time: z.ZodOptional<z.ZodNullable<z.ZodString>>;
71
+ }, z.core.$strip>>;
72
+ has_more: z.ZodNullable<z.ZodBoolean>;
73
+ next_cursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
74
+ }, z.core.$strip>;
75
+ declare const notionAddMultiplePageContent: import("@keystrokehq/action").WorkflowActionDefinition<{
76
+ content_blocks: {
77
+ content_block: Record<string, unknown> | {
78
+ bold?: boolean | undefined;
79
+ code?: boolean | undefined;
80
+ link?: string | null | undefined;
81
+ color?: string | undefined;
82
+ italic?: boolean | undefined;
83
+ content?: string | null | undefined;
84
+ underline?: boolean | undefined;
85
+ strikethrough?: boolean | undefined;
86
+ block_property?: "file" | "quote" | "image" | "to_do" | "video" | "toggle" | "callout" | "divider" | "heading_1" | "heading_2" | "heading_3" | "paragraph" | "bulleted_list_item" | "numbered_list_item" | undefined;
87
+ };
88
+ }[];
89
+ parent_block_id: string;
90
+ after?: string | undefined;
91
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
92
  //#endregion
8
93
  export { notionAddMultiplePageContent };
9
94
  //# sourceMappingURL=add-multiple-page-content.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"add-multiple-page-content.d.mts","names":[],"sources":["../../src/actions/add-multiple-page-content.ts"],"mappings":";;;cAIa,iCAAA,EAAmC,CAAA,CAAE,UAgBhD;AAAA,cA6BW,kCAAA,EAAoC,CAAA,CAAE,UAOqH;AAAA,cAE3J,4BAAA,gCAA4B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"add-multiple-page-content.d.mts","names":[],"sources":["../../src/actions/add-multiple-page-content.ts"],"mappings":";;;cAIa,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cA6CjC,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cASlC,4BAAA,gCAA4B,wBAAA;;mBAMvC,MAAA"}
@@ -32,7 +32,7 @@ const NotionAddMultiplePageContentInput = z.object({
32
32
  parent_block_id: z.string().describe("The UUID of the parent page or block where content will be added AS CHILDREN (nested inside). ⚠️ COMMON MISTAKE: To add content AFTER a block (as siblings), use the page ID as parent_block_id and specify the block ID in the 'after' parameter. Using a heading block ID here will fail because headings cannot have children unless they are toggleable. CONTAINER BLOCKS that support children: pages, paragraph, toggle, callout, quote, bulleted_list_item, numbered_list_item, to_do, column, column_list, table, synced_block, and heading_1/2/3 ONLY if is_toggleable=True. NON-CONTAINER blocks that CANNOT have children: heading_1/2/3 (unless toggleable), divider, image, video, file, embed, bookmark, equation, breadcrumb, table_of_contents, code, and child_database (databases don't support block children - use database entry actions instead). Accepts 32 hex chars with/without hyphens. Example: '4b5f6e87-123a-456b-789c-9de8f7a9e4c1'. Get valid IDs from create_page, search_pages, or other Notion actions.")
33
33
  });
34
34
  const NotionAddMultiplePageContent_BlockParentSchema = z.object({
35
- type: z.string().describe("Type of parent: 'page_id', 'block_id', 'database_id', 'data_source_id', or 'workspace'."),
35
+ type: z.string().describe("Type of parent: 'page_id', 'block_id', 'database_id', 'data_source_id', or 'workspace'.").nullable(),
36
36
  page_id: z.string().describe("The page ID when parent type is 'page_id' (UUIDv4 format).").nullable().optional(),
37
37
  block_id: z.string().describe("The block ID when parent type is 'block_id' (UUIDv4 format).").nullable().optional(),
38
38
  workspace: z.boolean().describe("Always true when parent type is 'workspace'.").nullable().optional(),
@@ -40,16 +40,16 @@ const NotionAddMultiplePageContent_BlockParentSchema = z.object({
40
40
  data_source_id: z.string().describe("The data source ID when parent type is 'data_source_id' (UUIDv4 format).").nullable().optional()
41
41
  }).describe("Information about the parent container of a block.");
42
42
  const NotionAddMultiplePageContent_PartialUserSchema = z.object({
43
- id: z.string().describe("Unique identifier for the user (UUID format)."),
43
+ id: z.string().describe("Unique identifier for the user (UUID format).").nullable(),
44
44
  name: z.string().describe("User's name as displayed in Notion.").nullable().optional(),
45
45
  type: z.string().describe("Type of user: 'person' or 'bot'.").nullable().optional(),
46
- object: z.string().describe("Always 'user'."),
46
+ object: z.string().describe("Always 'user'.").nullable(),
47
47
  avatar_url: z.string().describe("URL of the user's chosen avatar image.").nullable().optional()
48
48
  }).describe("Partial user object representing a Notion user.");
49
49
  const NotionAddMultiplePageContent_BlockSchema = z.object({
50
- id: z.string().describe("Unique identifier for the block (UUIDv4 format)."),
51
- type: z.string().describe("The type of block (e.g., 'paragraph', 'heading_1', 'heading_2', 'heading_3', 'bulleted_list_item', 'numbered_list_item', 'to_do', 'toggle', 'quote', 'callout', 'code', 'divider', 'bookmark', 'embed', 'file', 'image', 'video', 'audio', 'pdf', 'table', 'table_row', 'column_list', 'column', 'child_page', 'child_database', 'synced_block', 'template', 'equation', 'breadcrumb', 'link_preview', 'table_of_contents')."),
52
- object: z.string().describe("Always 'block'."),
50
+ id: z.string().describe("Unique identifier for the block (UUIDv4 format).").nullable(),
51
+ type: z.string().describe("The type of block (e.g., 'paragraph', 'heading_1', 'heading_2', 'heading_3', 'bulleted_list_item', 'numbered_list_item', 'to_do', 'toggle', 'quote', 'callout', 'code', 'divider', 'bookmark', 'embed', 'file', 'image', 'video', 'audio', 'pdf', 'table', 'table_row', 'column_list', 'column', 'child_page', 'child_database', 'synced_block', 'template', 'equation', 'breadcrumb', 'link_preview', 'table_of_contents').").nullable(),
52
+ object: z.string().describe("Always 'block'.").nullable(),
53
53
  parent: NotionAddMultiplePageContent_BlockParentSchema.nullable().optional(),
54
54
  archived: z.boolean().describe("Whether the block is archived.").nullable().optional(),
55
55
  in_trash: z.boolean().describe("Whether the block has been deleted.").nullable().optional(),
@@ -67,9 +67,9 @@ const notionAddMultiplePageContent = action("NOTION_ADD_MULTIPLE_PAGE_CONTENT",
67
67
  output: z.object({
68
68
  type: z.string().describe("The type of items in the results array, typically 'block' for this endpoint.").nullable().optional(),
69
69
  block: z.record(z.string(), z.unknown()).describe("An object containing block-specific pagination information.").nullable().optional(),
70
- object: z.string().describe("Always 'list' for paginated list responses."),
70
+ object: z.string().describe("Always 'list' for paginated list responses.").nullable(),
71
71
  results: z.array(NotionAddMultiplePageContent_BlockSchema).describe("Array of newly created block objects."),
72
- has_more: z.boolean().describe("Whether there are more results available beyond this page. False when no more results remain."),
72
+ has_more: z.boolean().describe("Whether there are more results available beyond this page. False when no more results remain.").nullable(),
73
73
  next_cursor: z.string().describe("Cursor value that can be used to retrieve the next page of results. Null if there are no more results.").nullable().optional()
74
74
  }).describe("Response model aligned with Notion's PATCH /v1/blocks/{block_id}/children.\n\nReturns a paginated list object containing the newly created block objects.")
75
75
  });
@@ -1 +1 @@
1
- {"version":3,"file":"add-multiple-page-content.mjs","names":[],"sources":["../../src/actions/add-multiple-page-content.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NotionAddMultiplePageContentInput: z.ZodTypeAny = z.object({\n after: z.string().describe(\"Block ID to insert content AFTER (as siblings). Use this to add content after a heading: set parent_block_id to the PAGE ID and 'after' to the HEADING block ID. The new blocks appear immediately after this block at the same nesting level. If omitted, blocks are appended to the end of the parent's children list.\").optional(),\n content_blocks: z.array(z.object({\n content_block: z.union([z.object({\n bold: z.boolean().default(false).describe(\"Indicates if the text is bold.\").optional(),\n code: z.boolean().default(false).describe(\"Indicates if the text is formatted as code.\").optional(),\n link: z.string().nullable().optional(),\n color: z.string().default(\"default\").describe(\"The color of the text background or text itself.\").optional(),\n italic: z.boolean().default(false).describe(\"Indicates if the text is italic.\").optional(),\n content: z.string().nullable().optional(),\n underline: z.boolean().default(false).describe(\"Indicates if the text is underlined.\").optional(),\n strikethrough: z.boolean().default(false).describe(\"Indicates if the text has strikethrough.\").optional(),\n block_property: z.enum([\"paragraph\", \"heading_1\", \"heading_2\", \"heading_3\", \"callout\", \"to_do\", \"toggle\", \"quote\", \"bulleted_list_item\", \"numbered_list_item\", \"file\", \"image\", \"video\", \"divider\"]).default(\"paragraph\").describe(\"The block property of the block to be added. **Common text blocks:** `paragraph`, `heading_1`, `heading_2`, `heading_3`, `callout`, `to_do`, `toggle`, `quote`, `bulleted_list_item`, `numbered_list_item`. **Special blocks:** `divider` (creates a horizontal divider line, no content required). **Media/embed blocks:** `file`, `image`, `video` (requires `link` field with external URL - direct file uploads not supported). \\n\\n**NOTE:** Notion API only supports heading levels 1-3. heading_4, heading_5, etc. are automatically converted to heading_3.\").optional(),\n}).describe(\"Include these fields in the json: {'content': 'Some words', 'link': 'https://random-link.com'. For content styling, refer to https://developers.notion.com/reference/rich-text.\\n\\nENHANCED: The 'content' field now automatically detects and parses markdown formatting - supports bold (**text**), italic (*text*), strikethrough (~~text~~), inline code (`code`), and links ([text](url)). Headers (# ## ###) are handled via block_property.\"), z.record(z.string(), z.unknown())]),\n}).describe(\"Represents a single content block that can be added to a Notion page.\")).describe(\"⚠️ CRITICAL: Notion API enforces 2000 char limit per text.content field. Content >2000 chars auto-splits.\\nList of blocks to add (max 100). Each item can be in EITHER format:\\nA) Unwrapped (recommended): {'content': 'text', 'block_property': 'paragraph'}\\nB) Wrapped: {'content_block': {'content': 'text', 'block_property': 'paragraph'}}\\nBlock content formats:\\n1) Simplified: {'content': 'text (REQUIRED for text blocks)', 'block_property': 'type'}\\n2) Full Notion: {'type': 'code', 'code': {...}} for complex blocks.\\nAuto-features: Markdown parsing (**bold** *italic* ~~strike~~ `code` [link](url)).\\nValid block_property values: paragraph, heading_1-3, callout, to_do, toggle, quote, bulleted/numbered_list_item, divider.\\nNOTE: 'code' and 'table' blocks require full Notion format with nested children/properties. 'divider' blocks don't require content.\\n⚠️ UNSUPPORTED: child_database (use NOTION_CREATE_DATABASE), child_page (use NOTION_CREATE_NOTION_PAGE), link_preview (read-only).\"),\n parent_block_id: z.string().describe(\"The UUID of the parent page or block where content will be added AS CHILDREN (nested inside). ⚠️ COMMON MISTAKE: To add content AFTER a block (as siblings), use the page ID as parent_block_id and specify the block ID in the 'after' parameter. Using a heading block ID here will fail because headings cannot have children unless they are toggleable. CONTAINER BLOCKS that support children: pages, paragraph, toggle, callout, quote, bulleted_list_item, numbered_list_item, to_do, column, column_list, table, synced_block, and heading_1/2/3 ONLY if is_toggleable=True. NON-CONTAINER blocks that CANNOT have children: heading_1/2/3 (unless toggleable), divider, image, video, file, embed, bookmark, equation, breadcrumb, table_of_contents, code, and child_database (databases don't support block children - use database entry actions instead). Accepts 32 hex chars with/without hyphens. Example: '4b5f6e87-123a-456b-789c-9de8f7a9e4c1'. Get valid IDs from create_page, search_pages, or other Notion actions.\"),\n});\nconst NotionAddMultiplePageContent_BlockParentSchema: z.ZodTypeAny = z.object({\n type: z.string().describe(\"Type of parent: 'page_id', 'block_id', 'database_id', 'data_source_id', or 'workspace'.\"),\n page_id: z.string().describe(\"The page ID when parent type is 'page_id' (UUIDv4 format).\").nullable().optional(),\n block_id: z.string().describe(\"The block ID when parent type is 'block_id' (UUIDv4 format).\").nullable().optional(),\n workspace: z.boolean().describe(\"Always true when parent type is 'workspace'.\").nullable().optional(),\n database_id: z.string().describe(\"The database ID when parent type is 'database_id' or 'data_source_id' (UUIDv4 format).\").nullable().optional(),\n data_source_id: z.string().describe(\"The data source ID when parent type is 'data_source_id' (UUIDv4 format).\").nullable().optional(),\n}).describe(\"Information about the parent container of a block.\");\nconst NotionAddMultiplePageContent_PartialUserSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier for the user (UUID format).\"),\n name: z.string().describe(\"User's name as displayed in Notion.\").nullable().optional(),\n type: z.string().describe(\"Type of user: 'person' or 'bot'.\").nullable().optional(),\n object: z.string().describe(\"Always 'user'.\"),\n avatar_url: z.string().describe(\"URL of the user's chosen avatar image.\").nullable().optional(),\n}).describe(\"Partial user object representing a Notion user.\");\nconst NotionAddMultiplePageContent_BlockSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier for the block (UUIDv4 format).\"),\n type: z.string().describe(\"The type of block (e.g., 'paragraph', 'heading_1', 'heading_2', 'heading_3', 'bulleted_list_item', 'numbered_list_item', 'to_do', 'toggle', 'quote', 'callout', 'code', 'divider', 'bookmark', 'embed', 'file', 'image', 'video', 'audio', 'pdf', 'table', 'table_row', 'column_list', 'column', 'child_page', 'child_database', 'synced_block', 'template', 'equation', 'breadcrumb', 'link_preview', 'table_of_contents').\"),\n object: z.string().describe(\"Always 'block'.\"),\n parent: NotionAddMultiplePageContent_BlockParentSchema.nullable().optional(),\n archived: z.boolean().describe(\"Whether the block is archived.\").nullable().optional(),\n in_trash: z.boolean().describe(\"Whether the block has been deleted.\").nullable().optional(),\n created_by: NotionAddMultiplePageContent_PartialUserSchema.nullable().optional(),\n created_time: z.string().describe(\"Timestamp when the block was created (ISO 8601 format).\").nullable().optional(),\n has_children: z.boolean().describe(\"Whether the block contains nested child blocks.\").nullable().optional(),\n last_edited_by: NotionAddMultiplePageContent_PartialUserSchema.nullable().optional(),\n last_edited_time: z.string().describe(\"Timestamp when the block was last edited (ISO 8601 format).\").nullable().optional(),\n}).describe(\"Represents a Notion block object.\");\nexport const NotionAddMultiplePageContentOutput: z.ZodTypeAny = z.object({\n type: z.string().describe(\"The type of items in the results array, typically 'block' for this endpoint.\").nullable().optional(),\n block: z.record(z.string(), z.unknown()).describe(\"An object containing block-specific pagination information.\").nullable().optional(),\n object: z.string().describe(\"Always 'list' for paginated list responses.\"),\n results: z.array(NotionAddMultiplePageContent_BlockSchema).describe(\"Array of newly created block objects.\"),\n has_more: z.boolean().describe(\"Whether there are more results available beyond this page. False when no more results remain.\"),\n next_cursor: z.string().describe(\"Cursor value that can be used to retrieve the next page of results. Null if there are no more results.\").nullable().optional(),\n}).describe(\"Response model aligned with Notion's PATCH /v1/blocks/{block_id}/children.\\n\\nReturns a paginated list object containing the newly created block objects.\");\n\nexport const notionAddMultiplePageContent = action(\"NOTION_ADD_MULTIPLE_PAGE_CONTENT\", {\n slug: \"notion-add-multiple-page-content\",\n name: \"Add multiple content blocks (bulk, user-friendly)\",\n description: \"Bulk-add content blocks to Notion. Text >2000 chars auto-splits. Parses markdown formatting. ⚠️ PARENT BLOCK TYPES: Content is added AS CHILDREN of parent_block_id. - To add content AFTER a heading, use PAGE ID as parent + heading ID in 'after' param. - Headings CANNOT have children unless is_toggleable=True. Simplified format: {'content': 'text', 'block_property': 'paragraph'} Full format for code: {'type': 'code', 'code': {'rich_text': [...], 'language': 'python'}} Array format also supported (auto-normalized): [{\\\"parent_block_id\\\": \\\"...\\\"}, {block1}, {block2}] => proper request structure\",\n input: NotionAddMultiplePageContentInput,\n output: NotionAddMultiplePageContentOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAkD,EAAE,OAAO;CACtE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,0TAA0T,CAAC,CAAC,SAAS;CAChW,gBAAgB,EAAE,MAAM,EAAE,OAAO,EACjC,eAAe,EAAE,MAAM,CAAC,EAAE,OAAO;EACjC,MAAM,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;EACrF,MAAM,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;EAClG,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrC,OAAO,EAAE,OAAO,CAAC,CAAC,QAAQ,SAAS,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;EAC3G,QAAQ,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;EACzF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxC,WAAW,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;EAChG,eAAe,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;EACxG,gBAAgB,EAAE,KAAK;GAAC;GAAa;GAAa;GAAa;GAAa;GAAW;GAAS;GA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CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrI,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C;EACzE,SAAS,EAAE,MAAM,wCAAwC,CAAC,CAAC,SAAS,uCAAuC;EAC3G,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,+FAA+F;EAC9H,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,wGAAwG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjK,CAAC,CAAC,CAAC,SAAS,2JAOF;AACV,CAAC"}
1
+ {"version":3,"file":"add-multiple-page-content.mjs","names":[],"sources":["../../src/actions/add-multiple-page-content.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NotionAddMultiplePageContentInput = z.object({\n after: z.string().describe(\"Block ID to insert content AFTER (as siblings). Use this to add content after a heading: set parent_block_id to the PAGE ID and 'after' to the HEADING block ID. The new blocks appear immediately after this block at the same nesting level. If omitted, blocks are appended to the end of the parent's children list.\").optional(),\n content_blocks: z.array(z.object({\n content_block: z.union([z.object({\n bold: z.boolean().default(false).describe(\"Indicates if the text is bold.\").optional(),\n code: z.boolean().default(false).describe(\"Indicates if the text is formatted as code.\").optional(),\n link: z.string().nullable().optional(),\n color: z.string().default(\"default\").describe(\"The color of the text background or text itself.\").optional(),\n italic: z.boolean().default(false).describe(\"Indicates if the text is italic.\").optional(),\n content: z.string().nullable().optional(),\n underline: z.boolean().default(false).describe(\"Indicates if the text is underlined.\").optional(),\n strikethrough: z.boolean().default(false).describe(\"Indicates if the text has strikethrough.\").optional(),\n block_property: z.enum([\"paragraph\", \"heading_1\", \"heading_2\", \"heading_3\", \"callout\", \"to_do\", \"toggle\", \"quote\", \"bulleted_list_item\", \"numbered_list_item\", \"file\", \"image\", \"video\", \"divider\"]).default(\"paragraph\").describe(\"The block property of the block to be added. **Common text blocks:** `paragraph`, `heading_1`, `heading_2`, `heading_3`, `callout`, `to_do`, `toggle`, `quote`, `bulleted_list_item`, `numbered_list_item`. **Special blocks:** `divider` (creates a horizontal divider line, no content required). **Media/embed blocks:** `file`, `image`, `video` (requires `link` field with external URL - direct file uploads not supported). \\n\\n**NOTE:** Notion API only supports heading levels 1-3. heading_4, heading_5, etc. are automatically converted to heading_3.\").optional(),\n}).describe(\"Include these fields in the json: {'content': 'Some words', 'link': 'https://random-link.com'. For content styling, refer to https://developers.notion.com/reference/rich-text.\\n\\nENHANCED: The 'content' field now automatically detects and parses markdown formatting - supports bold (**text**), italic (*text*), strikethrough (~~text~~), inline code (`code`), and links ([text](url)). Headers (# ## ###) are handled via block_property.\"), z.record(z.string(), z.unknown())]),\n}).describe(\"Represents a single content block that can be added to a Notion page.\")).describe(\"⚠️ CRITICAL: Notion API enforces 2000 char limit per text.content field. Content >2000 chars auto-splits.\\nList of blocks to add (max 100). Each item can be in EITHER format:\\nA) Unwrapped (recommended): {'content': 'text', 'block_property': 'paragraph'}\\nB) Wrapped: {'content_block': {'content': 'text', 'block_property': 'paragraph'}}\\nBlock content formats:\\n1) Simplified: {'content': 'text (REQUIRED for text blocks)', 'block_property': 'type'}\\n2) Full Notion: {'type': 'code', 'code': {...}} for complex blocks.\\nAuto-features: Markdown parsing (**bold** *italic* ~~strike~~ `code` [link](url)).\\nValid block_property values: paragraph, heading_1-3, callout, to_do, toggle, quote, bulleted/numbered_list_item, divider.\\nNOTE: 'code' and 'table' blocks require full Notion format with nested children/properties. 'divider' blocks don't require content.\\n⚠️ UNSUPPORTED: child_database (use NOTION_CREATE_DATABASE), child_page (use NOTION_CREATE_NOTION_PAGE), link_preview (read-only).\"),\n parent_block_id: z.string().describe(\"The UUID of the parent page or block where content will be added AS CHILDREN (nested inside). ⚠️ COMMON MISTAKE: To add content AFTER a block (as siblings), use the page ID as parent_block_id and specify the block ID in the 'after' parameter. Using a heading block ID here will fail because headings cannot have children unless they are toggleable. CONTAINER BLOCKS that support children: pages, paragraph, toggle, callout, quote, bulleted_list_item, numbered_list_item, to_do, column, column_list, table, synced_block, and heading_1/2/3 ONLY if is_toggleable=True. NON-CONTAINER blocks that CANNOT have children: heading_1/2/3 (unless toggleable), divider, image, video, file, embed, bookmark, equation, breadcrumb, table_of_contents, code, and child_database (databases don't support block children - use database entry actions instead). Accepts 32 hex chars with/without hyphens. Example: '4b5f6e87-123a-456b-789c-9de8f7a9e4c1'. Get valid IDs from create_page, search_pages, or other Notion actions.\"),\n});\nconst NotionAddMultiplePageContent_BlockParentSchema = z.object({\n type: z.string().describe(\"Type of parent: 'page_id', 'block_id', 'database_id', 'data_source_id', or 'workspace'.\").nullable(),\n page_id: z.string().describe(\"The page ID when parent type is 'page_id' (UUIDv4 format).\").nullable().optional(),\n block_id: z.string().describe(\"The block ID when parent type is 'block_id' (UUIDv4 format).\").nullable().optional(),\n workspace: z.boolean().describe(\"Always true when parent type is 'workspace'.\").nullable().optional(),\n database_id: z.string().describe(\"The database ID when parent type is 'database_id' or 'data_source_id' (UUIDv4 format).\").nullable().optional(),\n data_source_id: z.string().describe(\"The data source ID when parent type is 'data_source_id' (UUIDv4 format).\").nullable().optional(),\n}).describe(\"Information about the parent container of a block.\");\nconst NotionAddMultiplePageContent_PartialUserSchema = z.object({\n id: z.string().describe(\"Unique identifier for the user (UUID format).\").nullable(),\n name: z.string().describe(\"User's name as displayed in Notion.\").nullable().optional(),\n type: z.string().describe(\"Type of user: 'person' or 'bot'.\").nullable().optional(),\n object: z.string().describe(\"Always 'user'.\").nullable(),\n avatar_url: z.string().describe(\"URL of the user's chosen avatar image.\").nullable().optional(),\n}).describe(\"Partial user object representing a Notion user.\");\nconst NotionAddMultiplePageContent_BlockSchema = z.object({\n id: z.string().describe(\"Unique identifier for the block (UUIDv4 format).\").nullable(),\n type: z.string().describe(\"The type of block (e.g., 'paragraph', 'heading_1', 'heading_2', 'heading_3', 'bulleted_list_item', 'numbered_list_item', 'to_do', 'toggle', 'quote', 'callout', 'code', 'divider', 'bookmark', 'embed', 'file', 'image', 'video', 'audio', 'pdf', 'table', 'table_row', 'column_list', 'column', 'child_page', 'child_database', 'synced_block', 'template', 'equation', 'breadcrumb', 'link_preview', 'table_of_contents').\").nullable(),\n object: z.string().describe(\"Always 'block'.\").nullable(),\n parent: NotionAddMultiplePageContent_BlockParentSchema.nullable().optional(),\n archived: z.boolean().describe(\"Whether the block is archived.\").nullable().optional(),\n in_trash: z.boolean().describe(\"Whether the block has been deleted.\").nullable().optional(),\n created_by: NotionAddMultiplePageContent_PartialUserSchema.nullable().optional(),\n created_time: z.string().describe(\"Timestamp when the block was created (ISO 8601 format).\").nullable().optional(),\n has_children: z.boolean().describe(\"Whether the block contains nested child blocks.\").nullable().optional(),\n last_edited_by: NotionAddMultiplePageContent_PartialUserSchema.nullable().optional(),\n last_edited_time: z.string().describe(\"Timestamp when the block was last edited (ISO 8601 format).\").nullable().optional(),\n}).describe(\"Represents a Notion block object.\");\nexport const NotionAddMultiplePageContentOutput = z.object({\n type: z.string().describe(\"The type of items in the results array, typically 'block' for this endpoint.\").nullable().optional(),\n block: z.record(z.string(), z.unknown()).describe(\"An object containing block-specific pagination information.\").nullable().optional(),\n object: z.string().describe(\"Always 'list' for paginated list responses.\").nullable(),\n results: z.array(NotionAddMultiplePageContent_BlockSchema).describe(\"Array of newly created block objects.\"),\n has_more: z.boolean().describe(\"Whether there are more results available beyond this page. False when no more results remain.\").nullable(),\n next_cursor: z.string().describe(\"Cursor value that can be used to retrieve the next page of results. Null if there are no more results.\").nullable().optional(),\n}).describe(\"Response model aligned with Notion's PATCH /v1/blocks/{block_id}/children.\\n\\nReturns a paginated list object containing the newly created block objects.\");\n\nexport const notionAddMultiplePageContent = action(\"NOTION_ADD_MULTIPLE_PAGE_CONTENT\", {\n slug: \"notion-add-multiple-page-content\",\n name: \"Add multiple content blocks (bulk, user-friendly)\",\n description: \"Bulk-add content blocks to Notion. Text >2000 chars auto-splits. Parses markdown formatting. ⚠️ PARENT BLOCK TYPES: Content is added AS CHILDREN of parent_block_id. - To add content AFTER a heading, use PAGE ID as parent + heading ID in 'after' param. - Headings CANNOT have children unless is_toggleable=True. Simplified format: {'content': 'text', 'block_property': 'paragraph'} Full format for code: {'type': 'code', 'code': {'rich_text': [...], 'language': 'python'}} Array format also supported (auto-normalized): [{\\\"parent_block_id\\\": \\\"...\\\"}, {block1}, {block2}] => proper request structure\",\n input: NotionAddMultiplePageContentInput,\n output: NotionAddMultiplePageContentOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAoC,EAAE,OAAO;CACxD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,0TAA0T,CAAC,CAAC,SAAS;CAChW,gBAAgB,EAAE,MAAM,EAAE,OAAO,EACjC,eAAe,EAAE,MAAM,CAAC,EAAE,OAAO;EACjC,MAAM,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;EACrF,MAAM,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;EAClG,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrC,OAAO,EAAE,OAAO,CAAC,CAAC,QAAQ,SAAS,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;EAC3G,QAAQ,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;EACzF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxC,WAAW,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;EAChG,eAAe,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;EACxG,gBAAgB,EAAE,KAAK;GAAC;GAAa;GAAa;GAAa;GAAa;GAAW;GAAS;GAAU;GAAS;GAAsB;GAAsB;GAAQ;GAAS;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