@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
@@ -1 +1 @@
1
- {"version":3,"file":"fetch-block-contents.d.mts","names":[],"sources":["../../src/actions/fetch-block-contents.ts"],"mappings":";;;cAIa,6BAAA,EAA+B,CAAA,CAAE,UAI5C;AAAA,cAkOW,8BAAA,EAAgC,CAAA,CAAE,UAQ7C;AAAA,cAEW,wBAAA,gCAAwB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"fetch-block-contents.d.mts","names":[],"sources":["../../src/actions/fetch-block-contents.ts"],"mappings":";;;cAIa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;cAsO7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAU9B,wBAAA,gCAAwB,wBAAA"}
@@ -7,28 +7,28 @@ const NotionFetchBlockContentsInput = z.object({
7
7
  start_cursor: z.string().describe("Pagination cursor from next_cursor in a previous API response. When paginating through results, pass the next_cursor value from the previous response here to fetch the next page. Must be a valid UUID format or cursor string returned by Notion's API. If omitted, returns the first page of results.").optional()
8
8
  });
9
9
  const NotionFetchBlockContents_BlockPaginationMarkerSchema = z.object({}).describe("Empty object marker for block-type pagination responses.");
10
- const NotionFetchBlockContents_TextLinkSchema = z.object({ url: z.string().describe("The URL the text links to.") });
10
+ const NotionFetchBlockContents_TextLinkSchema = z.object({ url: z.string().describe("The URL the text links to.").nullable() });
11
11
  const NotionFetchBlockContents_TextContentSchema = z.object({
12
12
  link: NotionFetchBlockContents_TextLinkSchema.nullable().optional(),
13
- content: z.string().describe("The actual text content.")
13
+ content: z.string().describe("The actual text content.").nullable()
14
14
  });
15
- const NotionFetchBlockContents_MentionContentSchema = z.object({ type: z.string().describe("Type of mention ('database', 'date', 'link_preview', 'page', 'template_mention', or 'user').") });
16
- const NotionFetchBlockContents_EquationContentSchema = z.object({ expression: z.string().describe("LaTeX formula representation.") });
15
+ const NotionFetchBlockContents_MentionContentSchema = z.object({ type: z.string().describe("Type of mention ('database', 'date', 'link_preview', 'page', 'template_mention', or 'user').").nullable() });
16
+ const NotionFetchBlockContents_EquationContentSchema = z.object({ expression: z.string().describe("LaTeX formula representation.").nullable() });
17
17
  const NotionFetchBlockContents_RichTextAnnotationsSchema = z.object({
18
- bold: z.boolean().describe("Whether text is bold."),
19
- code: z.boolean().describe("Whether text is formatted as code."),
20
- color: z.string().describe("Text color or background color (e.g., 'default', 'blue', 'green', 'red', 'yellow', 'orange', 'pink', 'purple', 'brown', 'gray', or with '_background' suffix)."),
21
- italic: z.boolean().describe("Whether text is italic."),
22
- underline: z.boolean().describe("Whether text is underlined."),
23
- strikethrough: z.boolean().describe("Whether text has strikethrough.")
18
+ bold: z.boolean().describe("Whether text is bold.").nullable(),
19
+ code: z.boolean().describe("Whether text is formatted as code.").nullable(),
20
+ color: z.string().describe("Text color or background color (e.g., 'default', 'blue', 'green', 'red', 'yellow', 'orange', 'pink', 'purple', 'brown', 'gray', or with '_background' suffix).").nullable(),
21
+ italic: z.boolean().describe("Whether text is italic.").nullable(),
22
+ underline: z.boolean().describe("Whether text is underlined.").nullable(),
23
+ strikethrough: z.boolean().describe("Whether text has strikethrough.").nullable()
24
24
  });
25
25
  const NotionFetchBlockContents_RichTextSchema = z.object({
26
26
  href: z.string().describe("URL if the text is a link, otherwise null.").nullable().optional(),
27
27
  text: NotionFetchBlockContents_TextContentSchema.nullable().optional(),
28
- type: z.string().describe("Type of rich text ('text', 'mention', or 'equation')."),
28
+ type: z.string().describe("Type of rich text ('text', 'mention', or 'equation').").nullable(),
29
29
  mention: NotionFetchBlockContents_MentionContentSchema.nullable().optional(),
30
30
  equation: NotionFetchBlockContents_EquationContentSchema.nullable().optional(),
31
- plain_text: z.string().describe("Unformatted text content."),
31
+ plain_text: z.string().describe("Unformatted text content.").nullable(),
32
32
  annotations: NotionFetchBlockContents_RichTextAnnotationsSchema.nullable()
33
33
  });
34
34
  const NotionFetchBlockContents_PdfBlockSchema = z.object({
@@ -37,11 +37,11 @@ const NotionFetchBlockContents_PdfBlockSchema = z.object({
37
37
  });
38
38
  const NotionFetchBlockContents_CodeBlockSchema = z.object({
39
39
  caption: z.array(NotionFetchBlockContents_RichTextSchema).describe("Array of rich text objects for the caption."),
40
- language: z.string().describe("Programming language for syntax highlighting (supports 170+ languages)."),
40
+ language: z.string().describe("Programming language for syntax highlighting (supports 170+ languages).").nullable(),
41
41
  rich_text: z.array(NotionFetchBlockContents_RichTextSchema).describe("Array of rich text objects containing the code content.")
42
42
  });
43
43
  const NotionFetchBlockContents_FileBlockSchema = z.object({
44
- name: z.string().describe("Name of the file."),
44
+ name: z.string().describe("Name of the file.").nullable(),
45
45
  type: z.string().describe("Type of file source ('external', 'file', or 'file_upload'). May be absent for incomplete or placeholder file blocks.").nullable().optional(),
46
46
  caption: z.array(NotionFetchBlockContents_RichTextSchema).describe("Array of rich text objects for the file caption.")
47
47
  });
@@ -50,7 +50,7 @@ const NotionFetchBlockContents_AudioBlockSchema = z.object({
50
50
  caption: z.array(NotionFetchBlockContents_RichTextSchema).describe("Array of rich text objects for the audio caption.")
51
51
  });
52
52
  const NotionFetchBlockContents_EmbedBlockSchema = z.object({
53
- url: z.string().describe("URL of the embedded content."),
53
+ url: z.string().describe("URL of the embedded content.").nullable(),
54
54
  caption: z.array(NotionFetchBlockContents_RichTextSchema).describe("Array of rich text objects for the embed caption.")
55
55
  });
56
56
  const NotionFetchBlockContents_ImageBlockSchema = z.object({
@@ -58,17 +58,17 @@ const NotionFetchBlockContents_ImageBlockSchema = z.object({
58
58
  caption: z.array(NotionFetchBlockContents_RichTextSchema).describe("Array of rich text objects for the image caption.")
59
59
  });
60
60
  const NotionFetchBlockContents_QuoteBlockSchema = z.object({
61
- color: z.string().describe("Color of the quote."),
61
+ color: z.string().describe("Color of the quote.").nullable(),
62
62
  rich_text: z.array(NotionFetchBlockContents_RichTextSchema).describe("Array of rich text objects containing the quote content.")
63
63
  });
64
64
  const NotionFetchBlockContents_TableBlockSchema = z.object({
65
- table_width: z.number().int().describe("Number of columns in the table."),
66
- has_row_header: z.boolean().describe("Whether the table has a row header."),
67
- has_column_header: z.boolean().describe("Whether the table has a column header.")
65
+ table_width: z.number().int().describe("Number of columns in the table.").nullable(),
66
+ has_row_header: z.boolean().describe("Whether the table has a row header.").nullable(),
67
+ has_column_header: z.boolean().describe("Whether the table has a column header.").nullable()
68
68
  });
69
69
  const NotionFetchBlockContents_ToDoBlockSchema = z.object({
70
- color: z.string().describe("Color of the to-do item."),
71
- checked: z.boolean().describe("Whether the to-do is checked."),
70
+ color: z.string().describe("Color of the to-do item.").nullable(),
71
+ checked: z.boolean().describe("Whether the to-do is checked.").nullable(),
72
72
  rich_text: z.array(NotionFetchBlockContents_RichTextSchema).describe("Array of rich text objects containing the to-do text.")
73
73
  });
74
74
  const NotionFetchBlockContents_VideoBlockSchema = z.object({
@@ -77,7 +77,7 @@ const NotionFetchBlockContents_VideoBlockSchema = z.object({
77
77
  });
78
78
  const NotionFetchBlockContents_ColumnBlockSchema = z.object({ width_ratio: z.number().describe("Width ratio of the column (0-1). Optional field that may not be present in all API responses.").nullable().optional() });
79
79
  const NotionFetchBlockContents_ParentObjectSchema = z.object({
80
- type: z.string().describe("Type of parent ('page_id', 'database_id', 'block_id', 'workspace', or 'data_source_id')."),
80
+ type: z.string().describe("Type of parent ('page_id', 'database_id', 'block_id', 'workspace', or 'data_source_id').").nullable(),
81
81
  page_id: z.string().describe("UUID of the parent page (present when type is 'page_id').").nullable().optional(),
82
82
  block_id: z.string().describe("UUID of the parent block (present when type is 'block_id').").nullable().optional(),
83
83
  workspace: z.boolean().describe("Always true when type is 'workspace', indicating a top-level page.").nullable().optional(),
@@ -85,34 +85,34 @@ const NotionFetchBlockContents_ParentObjectSchema = z.object({
85
85
  data_source_id: z.string().describe("UUID of the parent data source (present when type is 'data_source_id').").nullable().optional()
86
86
  });
87
87
  const NotionFetchBlockContents_ToggleBlockSchema = z.object({
88
- color: z.string().describe("Color of the toggle."),
88
+ color: z.string().describe("Color of the toggle.").nullable(),
89
89
  rich_text: z.array(NotionFetchBlockContents_RichTextSchema).describe("Array of rich text objects containing the toggle content.")
90
90
  });
91
91
  const NotionFetchBlockContents_EmojiIconSchema = z.object({
92
- type: z.string().describe("Always 'emoji' for emoji icons."),
93
- emoji: z.string().describe("The emoji character (e.g., '😻', '📌').")
92
+ type: z.string().describe("Always 'emoji' for emoji icons.").nullable(),
93
+ emoji: z.string().describe("The emoji character (e.g., '😻', '📌').").nullable()
94
94
  }).describe("Emoji icon object for callouts and pages.");
95
95
  const NotionFetchBlockContents_CustomEmojiDataSchema = z.object({
96
- id: z.string().describe("Unique identifier for the custom emoji."),
96
+ id: z.string().describe("Unique identifier for the custom emoji.").nullable(),
97
97
  url: z.string().describe("Hosted URL pointing to the custom emoji image.").nullable().optional(),
98
98
  name: z.string().describe("Display name of the custom emoji.").nullable().optional()
99
99
  }).describe("Custom emoji data containing metadata.");
100
100
  const NotionFetchBlockContents_CustomEmojiIconSchema = z.object({
101
- type: z.string().describe("Always 'custom_emoji' for workspace custom emoji icons."),
101
+ type: z.string().describe("Always 'custom_emoji' for workspace custom emoji icons.").nullable(),
102
102
  custom_emoji: NotionFetchBlockContents_CustomEmojiDataSchema.nullable()
103
103
  }).describe("Custom emoji icon object for callouts and pages.");
104
- const NotionFetchBlockContents_ExternalFileDataSchema = z.object({ url: z.string().describe("HTTPS URL to the external file.") }).describe("External file data with URL.");
104
+ const NotionFetchBlockContents_ExternalFileDataSchema = z.object({ url: z.string().describe("HTTPS URL to the external file.").nullable() }).describe("External file data with URL.");
105
105
  const NotionFetchBlockContents_ExternalFileIconSchema = z.object({
106
- type: z.string().describe("Always 'external' for externally hosted files."),
106
+ type: z.string().describe("Always 'external' for externally hosted files.").nullable(),
107
107
  external: NotionFetchBlockContents_ExternalFileDataSchema.nullable()
108
108
  }).describe("External file icon object for callouts.");
109
109
  const NotionFetchBlockContents_NotionFileDataSchema = z.object({
110
- url: z.string().describe("Authenticated S3 URL for the file (valid for 1 hour)."),
111
- expiry_time: z.string().describe("ISO 8601 timestamp when the URL expires.")
110
+ url: z.string().describe("Authenticated S3 URL for the file (valid for 1 hour).").nullable(),
111
+ expiry_time: z.string().describe("ISO 8601 timestamp when the URL expires.").nullable()
112
112
  }).describe("Notion-hosted file data with URL and expiry time.");
113
113
  const NotionFetchBlockContents_NotionFileIconSchema = z.object({
114
114
  file: NotionFetchBlockContents_NotionFileDataSchema.nullable(),
115
- type: z.string().describe("Always 'file' for Notion-hosted files.")
115
+ type: z.string().describe("Always 'file' for Notion-hosted files.").nullable()
116
116
  }).describe("Notion-hosted file icon object.");
117
117
  const NotionFetchBlockContents_CalloutBlockSchema = z.object({
118
118
  icon: z.union([
@@ -121,56 +121,56 @@ const NotionFetchBlockContents_CalloutBlockSchema = z.object({
121
121
  NotionFetchBlockContents_ExternalFileIconSchema,
122
122
  NotionFetchBlockContents_NotionFileIconSchema
123
123
  ]).nullable().optional(),
124
- color: z.string().describe("Background color of the callout."),
124
+ color: z.string().describe("Background color of the callout.").nullable(),
125
125
  rich_text: z.array(NotionFetchBlockContents_RichTextSchema).describe("Array of rich text objects containing the callout content.")
126
126
  });
127
127
  const NotionFetchBlockContents_DividerBlockSchema = z.object({}).describe("Divider block properties. Divider blocks contain no additional properties.");
128
128
  const NotionFetchBlockContents_BookmarkBlockSchema = z.object({
129
- url: z.string().describe("URL of the bookmarked resource."),
129
+ url: z.string().describe("URL of the bookmarked resource.").nullable(),
130
130
  caption: z.array(NotionFetchBlockContents_RichTextSchema).describe("Array of rich text objects for the bookmark caption.")
131
131
  });
132
- const NotionFetchBlockContents_EquationBlockSchema = z.object({ expression: z.string().describe("LaTeX expression for the equation.") });
132
+ const NotionFetchBlockContents_EquationBlockSchema = z.object({ expression: z.string().describe("LaTeX expression for the equation.").nullable() });
133
133
  const NotionFetchBlockContents_TemplateBlockSchema = z.object({ rich_text: z.array(NotionFetchBlockContents_RichTextSchema).describe("Array of rich text objects displayed in the template button title.") }).describe("Template block properties. Note: Template blocks are deprecated as of March 27, 2023.");
134
134
  const NotionFetchBlockContents_HeadingBlockSchema = z.object({
135
- color: z.string().describe("Color of the heading."),
135
+ color: z.string().describe("Color of the heading.").nullable(),
136
136
  rich_text: z.array(NotionFetchBlockContents_RichTextSchema).describe("Array of rich text objects containing the heading content."),
137
- is_toggleable: z.boolean().describe("Whether the heading can be toggled to show/hide children.")
137
+ is_toggleable: z.boolean().describe("Whether the heading can be toggled to show/hide children.").nullable()
138
138
  });
139
139
  const NotionFetchBlockContents_ParagraphBlockSchema = z.object({
140
- color: z.string().describe("Color of the paragraph block."),
140
+ color: z.string().describe("Color of the paragraph block.").nullable(),
141
141
  rich_text: z.array(NotionFetchBlockContents_RichTextSchema).describe("Array of rich text objects containing the paragraph content.")
142
142
  });
143
143
  const NotionFetchBlockContents_TableRowBlockSchema = z.object({ cells: z.array(z.array(NotionFetchBlockContents_RichTextSchema)).describe("Array of arrays, where each inner array contains rich text objects for a cell.") });
144
144
  const NotionFetchBlockContents_BreadcrumbBlockSchema = z.object({}).describe("Breadcrumb block properties. Breadcrumb blocks contain no additional properties.");
145
- const NotionFetchBlockContents_ChildPageBlockSchema = z.object({ title: z.string().describe("Title of the child page.") });
145
+ const NotionFetchBlockContents_ChildPageBlockSchema = z.object({ title: z.string().describe("Title of the child page.").nullable() });
146
146
  const NotionFetchBlockContents_PartialUserSchema = z.object({
147
- id: z.string().describe("UUID of the user."),
148
- object: z.string().describe("Always 'user'.")
147
+ id: z.string().describe("UUID of the user.").nullable(),
148
+ object: z.string().describe("Always 'user'.").nullable()
149
149
  });
150
150
  const NotionFetchBlockContents_ColumnListBlockSchema = z.object({}).describe("Column list block properties. Column lists are parent blocks for columns and contain no additional properties.");
151
151
  const NotionFetchBlockContents_UnsupportedBlockSchema = z.object({}).describe("Unsupported block properties. Represents block types not supported by the API.");
152
- const NotionFetchBlockContents_LinkPreviewBlockSchema = z.object({ url: z.string().describe("URL of the link preview.") });
152
+ const NotionFetchBlockContents_LinkPreviewBlockSchema = z.object({ url: z.string().describe("URL of the link preview.").nullable() });
153
153
  const NotionFetchBlockContents_SyncedFromReferenceSchema = z.object({
154
- type: z.string().describe("Always 'block_id' for synced block references."),
155
- block_id: z.string().describe("UUID of the original synced block that this block syncs from.")
154
+ type: z.string().describe("Always 'block_id' for synced block references.").nullable(),
155
+ block_id: z.string().describe("UUID of the original synced block that this block syncs from.").nullable()
156
156
  }).describe("Reference to the original synced block.");
157
157
  const NotionFetchBlockContents_SyncedBlockBlockSchema = z.object({ synced_from: NotionFetchBlockContents_SyncedFromReferenceSchema.nullable().optional() }).describe("Synced block properties.");
158
- const NotionFetchBlockContents_ChildDatabaseBlockSchema = z.object({ title: z.string().describe("Title of the child database.") });
159
- const NotionFetchBlockContents_TableOfContentsBlockSchema = z.object({ color: z.string().describe("Color of the table of contents block (e.g., 'default', 'blue', 'red', 'green', 'yellow', 'orange', 'pink', 'purple', 'brown', 'gray').") }).describe("Table of contents block properties.");
158
+ const NotionFetchBlockContents_ChildDatabaseBlockSchema = z.object({ title: z.string().describe("Title of the child database.").nullable() });
159
+ const NotionFetchBlockContents_TableOfContentsBlockSchema = z.object({ color: z.string().describe("Color of the table of contents block (e.g., 'default', 'blue', 'red', 'green', 'yellow', 'orange', 'pink', 'purple', 'brown', 'gray').").nullable() }).describe("Table of contents block properties.");
160
160
  const NotionFetchBlockContents_BulletedListItemBlockSchema = z.object({
161
- color: z.string().describe("Color of the list item."),
161
+ color: z.string().describe("Color of the list item.").nullable(),
162
162
  rich_text: z.array(NotionFetchBlockContents_RichTextSchema).describe("Array of rich text objects containing the list item content.")
163
163
  });
164
164
  const NotionFetchBlockContents_NumberedListItemBlockSchema = z.object({
165
- color: z.string().describe("Color of the list item."),
165
+ color: z.string().describe("Color of the list item.").nullable(),
166
166
  rich_text: z.array(NotionFetchBlockContents_RichTextSchema).describe("Array of rich text objects containing the list item content.")
167
167
  });
168
168
  const NotionFetchBlockContents_BlockSchema = z.object({
169
- id: z.string().describe("Unique identifier for the block (UUIDv4 format)."),
169
+ id: z.string().describe("Unique identifier for the block (UUIDv4 format).").nullable(),
170
170
  pdf: NotionFetchBlockContents_PdfBlockSchema.nullable().optional(),
171
171
  code: NotionFetchBlockContents_CodeBlockSchema.nullable().optional(),
172
172
  file: NotionFetchBlockContents_FileBlockSchema.nullable().optional(),
173
- type: z.string().describe("Type of block (e.g., 'paragraph', 'heading_1', 'heading_2', 'heading_3', 'bulleted_list_item', 'numbered_list_item', 'to_do', 'toggle', 'code', 'quote', 'callout', 'divider', 'table', 'table_row', 'column_list', 'column', 'child_database', 'child_page', 'image', 'video', 'file', 'pdf', 'bookmark', 'embed', 'equation', 'synced_block', 'template', 'table_of_contents', 'breadcrumb', 'link_preview', 'audio', 'unsupported')."),
173
+ type: z.string().describe("Type of block (e.g., 'paragraph', 'heading_1', 'heading_2', 'heading_3', 'bulleted_list_item', 'numbered_list_item', 'to_do', 'toggle', 'code', 'quote', 'callout', 'divider', 'table', 'table_row', 'column_list', 'column', 'child_database', 'child_page', 'image', 'video', 'file', 'pdf', 'bookmark', 'embed', 'equation', 'synced_block', 'template', 'table_of_contents', 'breadcrumb', 'link_preview', 'audio', 'unsupported').").nullable(),
174
174
  audio: NotionFetchBlockContents_AudioBlockSchema.nullable().optional(),
175
175
  embed: NotionFetchBlockContents_EmbedBlockSchema.nullable().optional(),
176
176
  image: NotionFetchBlockContents_ImageBlockSchema.nullable().optional(),
@@ -179,12 +179,12 @@ const NotionFetchBlockContents_BlockSchema = z.object({
179
179
  to_do: NotionFetchBlockContents_ToDoBlockSchema.nullable().optional(),
180
180
  video: NotionFetchBlockContents_VideoBlockSchema.nullable().optional(),
181
181
  column: NotionFetchBlockContents_ColumnBlockSchema.nullable().optional(),
182
- object: z.string().describe("Always 'block'."),
182
+ object: z.string().describe("Always 'block'.").nullable(),
183
183
  parent: NotionFetchBlockContents_ParentObjectSchema.nullable(),
184
184
  toggle: NotionFetchBlockContents_ToggleBlockSchema.nullable().optional(),
185
185
  callout: NotionFetchBlockContents_CalloutBlockSchema.nullable().optional(),
186
186
  divider: NotionFetchBlockContents_DividerBlockSchema.nullable().optional(),
187
- archived: z.boolean().describe("Whether the block is archived."),
187
+ archived: z.boolean().describe("Whether the block is archived.").nullable(),
188
188
  bookmark: NotionFetchBlockContents_BookmarkBlockSchema.nullable().optional(),
189
189
  equation: NotionFetchBlockContents_EquationBlockSchema.nullable().optional(),
190
190
  in_trash: z.boolean().describe("Whether the block has been deleted.").nullable().optional(),
@@ -199,13 +199,13 @@ const NotionFetchBlockContents_BlockSchema = z.object({
199
199
  created_by: NotionFetchBlockContents_PartialUserSchema.nullable(),
200
200
  column_list: NotionFetchBlockContents_ColumnListBlockSchema.nullable().optional(),
201
201
  unsupported: NotionFetchBlockContents_UnsupportedBlockSchema.nullable().optional(),
202
- created_time: z.string().describe("ISO 8601 timestamp when the block was created."),
203
- has_children: z.boolean().describe("Whether the block contains nested child blocks. When true, use retrieve block children recursively to get nested content."),
202
+ created_time: z.string().describe("ISO 8601 timestamp when the block was created.").nullable(),
203
+ has_children: z.boolean().describe("Whether the block contains nested child blocks. When true, use retrieve block children recursively to get nested content.").nullable(),
204
204
  link_preview: NotionFetchBlockContents_LinkPreviewBlockSchema.nullable().optional(),
205
205
  synced_block: NotionFetchBlockContents_SyncedBlockBlockSchema.nullable().optional(),
206
206
  child_database: NotionFetchBlockContents_ChildDatabaseBlockSchema.nullable().optional(),
207
207
  last_edited_by: NotionFetchBlockContents_PartialUserSchema.nullable(),
208
- last_edited_time: z.string().describe("ISO 8601 timestamp when the block was last edited."),
208
+ last_edited_time: z.string().describe("ISO 8601 timestamp when the block was last edited.").nullable(),
209
209
  table_of_contents: NotionFetchBlockContents_TableOfContentsBlockSchema.nullable().optional(),
210
210
  bulleted_list_item: NotionFetchBlockContents_BulletedListItemBlockSchema.nullable().optional(),
211
211
  numbered_list_item: NotionFetchBlockContents_NumberedListItemBlockSchema.nullable().optional()
@@ -218,9 +218,9 @@ const notionFetchBlockContents = action("NOTION_FETCH_BLOCK_CONTENTS", {
218
218
  output: z.object({
219
219
  type: z.string().describe("Always 'block' for block list responses, indicating this is a block-type pagination.").nullable().optional(),
220
220
  block: NotionFetchBlockContents_BlockPaginationMarkerSchema.nullable().optional(),
221
- object: z.string().describe("Always 'list' for paginated responses."),
221
+ object: z.string().describe("Always 'list' for paginated responses.").nullable(),
222
222
  results: z.array(NotionFetchBlockContents_BlockSchema).describe("Array of child block objects contained in the specified block. Only includes first level children."),
223
- has_more: z.boolean().describe("Whether there are more results available beyond this page. Used for pagination."),
223
+ has_more: z.boolean().describe("Whether there are more results available beyond this page. Used for pagination.").nullable(),
224
224
  next_cursor: z.string().describe("Cursor for retrieving the next page of results. Null if has_more is false. Use as start_cursor parameter in subsequent requests.").nullable().optional(),
225
225
  composio_execution_message: z.string().describe("Optional message explaining special circumstances during execution, such as when a block type is not supported by the Notion API.").nullable().optional()
226
226
  })
@@ -1 +1 @@
1
- {"version":3,"file":"fetch-block-contents.mjs","names":[],"sources":["../../src/actions/fetch-block-contents.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NotionFetchBlockContentsInput: z.ZodTypeAny = z.object({\n block_id: z.string().describe(\"UUID of the parent Notion block or page whose children are to be fetched. Accepts both hyphenated (e.g., 'c02fc1d3-db8b-45c5-a222-27595b15aea7') and non-hyphenated (e.g., 'c02fc1d3db8b45c5a22227595b15aea7') UUID formats. Notion's API does not support special identifiers like 'root' or 'top-level' - you must always provide an actual page or block UUID. To discover valid page/block IDs, first use 'NOTION_SEARCH_NOTION_PAGE' to find pages or 'NOTION_QUERY_DATABASE' to query databases.\"),\n page_size: z.number().int().describe(\"The maximum number of child blocks to return in a single response. The actual number of results may be lower if there are fewer child blocks available or if the end of the list is reached. Maximum allowed value is 100. If unspecified, Notion's default page size will be used.\").optional(),\n start_cursor: z.string().describe(\"Pagination cursor from next_cursor in a previous API response. When paginating through results, pass the next_cursor value from the previous response here to fetch the next page. Must be a valid UUID format or cursor string returned by Notion's API. If omitted, returns the first page of results.\").optional(),\n});\nconst NotionFetchBlockContents_BlockPaginationMarkerSchema: z.ZodTypeAny = z.object({}).describe(\"Empty object marker for block-type pagination responses.\");\nconst NotionFetchBlockContents_TextLinkSchema: z.ZodTypeAny = z.object({\n url: z.string().describe(\"The URL the text links to.\"),\n});\nconst NotionFetchBlockContents_TextContentSchema: z.ZodTypeAny = z.object({\n link: NotionFetchBlockContents_TextLinkSchema.nullable().optional(),\n content: z.string().describe(\"The actual text content.\"),\n});\nconst NotionFetchBlockContents_MentionContentSchema: z.ZodTypeAny = z.object({\n type: z.string().describe(\"Type of mention ('database', 'date', 'link_preview', 'page', 'template_mention', or 'user').\"),\n});\nconst NotionFetchBlockContents_EquationContentSchema: z.ZodTypeAny = z.object({\n expression: z.string().describe(\"LaTeX formula representation.\"),\n});\nconst NotionFetchBlockContents_RichTextAnnotationsSchema: z.ZodTypeAny = z.object({\n bold: z.boolean().describe(\"Whether text is bold.\"),\n code: z.boolean().describe(\"Whether text is formatted as code.\"),\n color: z.string().describe(\"Text color or background color (e.g., 'default', 'blue', 'green', 'red', 'yellow', 'orange', 'pink', 'purple', 'brown', 'gray', or with '_background' suffix).\"),\n italic: z.boolean().describe(\"Whether text is italic.\"),\n underline: z.boolean().describe(\"Whether text is underlined.\"),\n strikethrough: z.boolean().describe(\"Whether text has strikethrough.\"),\n});\nconst NotionFetchBlockContents_RichTextSchema: z.ZodTypeAny = z.object({\n href: z.string().describe(\"URL if the text is a link, otherwise null.\").nullable().optional(),\n text: NotionFetchBlockContents_TextContentSchema.nullable().optional(),\n type: z.string().describe(\"Type of rich text ('text', 'mention', or 'equation').\"),\n mention: NotionFetchBlockContents_MentionContentSchema.nullable().optional(),\n equation: NotionFetchBlockContents_EquationContentSchema.nullable().optional(),\n plain_text: z.string().describe(\"Unformatted text content.\"),\n annotations: NotionFetchBlockContents_RichTextAnnotationsSchema.nullable(),\n});\nconst NotionFetchBlockContents_PdfBlockSchema: z.ZodTypeAny = z.object({\n type: z.string().describe(\"Type of PDF source ('external', 'file', or 'file_upload'). May be absent for incomplete or placeholder PDF blocks.\").nullable().optional(),\n caption: z.array(NotionFetchBlockContents_RichTextSchema).describe(\"Array of rich text objects for the PDF caption.\"),\n});\nconst NotionFetchBlockContents_CodeBlockSchema: z.ZodTypeAny = z.object({\n caption: z.array(NotionFetchBlockContents_RichTextSchema).describe(\"Array of rich text objects for the caption.\"),\n language: z.string().describe(\"Programming language for syntax highlighting (supports 170+ languages).\"),\n rich_text: z.array(NotionFetchBlockContents_RichTextSchema).describe(\"Array of rich text objects containing the code content.\"),\n});\nconst NotionFetchBlockContents_FileBlockSchema: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Name of the file.\"),\n type: z.string().describe(\"Type of file source ('external', 'file', or 'file_upload'). May be absent for incomplete or placeholder file blocks.\").nullable().optional(),\n caption: z.array(NotionFetchBlockContents_RichTextSchema).describe(\"Array of rich text objects for the file caption.\"),\n});\nconst NotionFetchBlockContents_AudioBlockSchema: z.ZodTypeAny = z.object({\n type: z.string().describe(\"Type of audio source ('external', 'file', or 'file_upload'). May be absent for incomplete or placeholder audio blocks.\").nullable().optional(),\n caption: z.array(NotionFetchBlockContents_RichTextSchema).describe(\"Array of rich text objects for the audio caption.\"),\n});\nconst NotionFetchBlockContents_EmbedBlockSchema: z.ZodTypeAny = z.object({\n url: z.string().describe(\"URL of the embedded content.\"),\n caption: z.array(NotionFetchBlockContents_RichTextSchema).describe(\"Array of rich text objects for the embed caption.\"),\n});\nconst NotionFetchBlockContents_ImageBlockSchema: z.ZodTypeAny = z.object({\n type: z.string().describe(\"Type of image source ('external', 'file', or 'file_upload'). May be absent for incomplete or placeholder image blocks.\").nullable().optional(),\n caption: z.array(NotionFetchBlockContents_RichTextSchema).describe(\"Array of rich text objects for the image caption.\"),\n});\nconst NotionFetchBlockContents_QuoteBlockSchema: z.ZodTypeAny = z.object({\n color: z.string().describe(\"Color of the quote.\"),\n rich_text: z.array(NotionFetchBlockContents_RichTextSchema).describe(\"Array of rich text objects containing the quote content.\"),\n});\nconst NotionFetchBlockContents_TableBlockSchema: z.ZodTypeAny = z.object({\n table_width: z.number().int().describe(\"Number of columns in the table.\"),\n has_row_header: z.boolean().describe(\"Whether the table has a row header.\"),\n has_column_header: z.boolean().describe(\"Whether the table has a column header.\"),\n});\nconst NotionFetchBlockContents_ToDoBlockSchema: z.ZodTypeAny = z.object({\n color: z.string().describe(\"Color of the to-do item.\"),\n checked: z.boolean().describe(\"Whether the to-do is checked.\"),\n rich_text: z.array(NotionFetchBlockContents_RichTextSchema).describe(\"Array of rich text objects containing the to-do text.\"),\n});\nconst NotionFetchBlockContents_VideoBlockSchema: z.ZodTypeAny = z.object({\n type: z.string().describe(\"Type of video source ('external', 'file', or 'file_upload'). May be absent for incomplete or placeholder video blocks.\").nullable().optional(),\n caption: z.array(NotionFetchBlockContents_RichTextSchema).describe(\"Array of rich text objects for the video caption.\"),\n});\nconst NotionFetchBlockContents_ColumnBlockSchema: z.ZodTypeAny = z.object({\n width_ratio: z.number().describe(\"Width ratio of the column (0-1). Optional field that may not be present in all API responses.\").nullable().optional(),\n});\nconst NotionFetchBlockContents_ParentObjectSchema: z.ZodTypeAny = z.object({\n type: z.string().describe(\"Type of parent ('page_id', 'database_id', 'block_id', 'workspace', or 'data_source_id').\"),\n page_id: z.string().describe(\"UUID of the parent page (present when type is 'page_id').\").nullable().optional(),\n block_id: z.string().describe(\"UUID of the parent block (present when type is 'block_id').\").nullable().optional(),\n workspace: z.boolean().describe(\"Always true when type is 'workspace', indicating a top-level page.\").nullable().optional(),\n database_id: z.string().describe(\"UUID of the parent database (present when type is 'database_id').\").nullable().optional(),\n data_source_id: z.string().describe(\"UUID of the parent data source (present when type is 'data_source_id').\").nullable().optional(),\n});\nconst NotionFetchBlockContents_ToggleBlockSchema: z.ZodTypeAny = z.object({\n color: z.string().describe(\"Color of the toggle.\"),\n rich_text: z.array(NotionFetchBlockContents_RichTextSchema).describe(\"Array of rich text objects containing the toggle content.\"),\n});\nconst NotionFetchBlockContents_EmojiIconSchema: z.ZodTypeAny = z.object({\n type: z.string().describe(\"Always 'emoji' for emoji icons.\"),\n emoji: z.string().describe(\"The emoji character (e.g., '😻', '📌').\"),\n}).describe(\"Emoji icon object for callouts and pages.\");\nconst NotionFetchBlockContents_CustomEmojiDataSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier for the custom emoji.\"),\n url: z.string().describe(\"Hosted URL pointing to the custom emoji image.\").nullable().optional(),\n name: z.string().describe(\"Display name of the custom emoji.\").nullable().optional(),\n}).describe(\"Custom emoji data containing metadata.\");\nconst NotionFetchBlockContents_CustomEmojiIconSchema: z.ZodTypeAny = z.object({\n type: z.string().describe(\"Always 'custom_emoji' for workspace custom emoji icons.\"),\n custom_emoji: NotionFetchBlockContents_CustomEmojiDataSchema.nullable(),\n}).describe(\"Custom emoji icon object for callouts and pages.\");\nconst NotionFetchBlockContents_ExternalFileDataSchema: z.ZodTypeAny = z.object({\n url: z.string().describe(\"HTTPS URL to the external file.\"),\n}).describe(\"External file data with URL.\");\nconst NotionFetchBlockContents_ExternalFileIconSchema: z.ZodTypeAny = z.object({\n type: z.string().describe(\"Always 'external' for externally hosted files.\"),\n external: NotionFetchBlockContents_ExternalFileDataSchema.nullable(),\n}).describe(\"External file icon object for callouts.\");\nconst NotionFetchBlockContents_NotionFileDataSchema: z.ZodTypeAny = z.object({\n url: z.string().describe(\"Authenticated S3 URL for the file (valid for 1 hour).\"),\n expiry_time: z.string().describe(\"ISO 8601 timestamp when the URL expires.\"),\n}).describe(\"Notion-hosted file data with URL and expiry time.\");\nconst NotionFetchBlockContents_NotionFileIconSchema: z.ZodTypeAny = z.object({\n file: NotionFetchBlockContents_NotionFileDataSchema.nullable(),\n type: z.string().describe(\"Always 'file' for Notion-hosted files.\"),\n}).describe(\"Notion-hosted file icon object.\");\nconst NotionFetchBlockContents_CalloutBlockSchema: z.ZodTypeAny = z.object({\n icon: z.union([NotionFetchBlockContents_EmojiIconSchema, NotionFetchBlockContents_CustomEmojiIconSchema, NotionFetchBlockContents_ExternalFileIconSchema, NotionFetchBlockContents_NotionFileIconSchema]).nullable().optional(),\n color: z.string().describe(\"Background color of the callout.\"),\n rich_text: z.array(NotionFetchBlockContents_RichTextSchema).describe(\"Array of rich text objects containing the callout content.\"),\n});\nconst NotionFetchBlockContents_DividerBlockSchema: z.ZodTypeAny = z.object({}).describe(\"Divider block properties. Divider blocks contain no additional properties.\");\nconst NotionFetchBlockContents_BookmarkBlockSchema: z.ZodTypeAny = z.object({\n url: z.string().describe(\"URL of the bookmarked resource.\"),\n caption: z.array(NotionFetchBlockContents_RichTextSchema).describe(\"Array of rich text objects for the bookmark caption.\"),\n});\nconst NotionFetchBlockContents_EquationBlockSchema: z.ZodTypeAny = z.object({\n expression: z.string().describe(\"LaTeX expression for the equation.\"),\n});\nconst NotionFetchBlockContents_TemplateBlockSchema: z.ZodTypeAny = z.object({\n rich_text: z.array(NotionFetchBlockContents_RichTextSchema).describe(\"Array of rich text objects displayed in the template button title.\"),\n}).describe(\"Template block properties. Note: Template blocks are deprecated as of March 27, 2023.\");\nconst NotionFetchBlockContents_HeadingBlockSchema: z.ZodTypeAny = z.object({\n color: z.string().describe(\"Color of the heading.\"),\n rich_text: z.array(NotionFetchBlockContents_RichTextSchema).describe(\"Array of rich text objects containing the heading content.\"),\n is_toggleable: z.boolean().describe(\"Whether the heading can be toggled to show/hide children.\"),\n});\nconst NotionFetchBlockContents_ParagraphBlockSchema: z.ZodTypeAny = z.object({\n color: z.string().describe(\"Color of the paragraph block.\"),\n rich_text: z.array(NotionFetchBlockContents_RichTextSchema).describe(\"Array of rich text objects containing the paragraph content.\"),\n});\nconst NotionFetchBlockContents_TableRowBlockSchema: z.ZodTypeAny = z.object({\n cells: z.array(z.array(NotionFetchBlockContents_RichTextSchema)).describe(\"Array of arrays, where each inner array contains rich text objects for a cell.\"),\n});\nconst NotionFetchBlockContents_BreadcrumbBlockSchema: z.ZodTypeAny = z.object({}).describe(\"Breadcrumb block properties. Breadcrumb blocks contain no additional properties.\");\nconst NotionFetchBlockContents_ChildPageBlockSchema: z.ZodTypeAny = z.object({\n title: z.string().describe(\"Title of the child page.\"),\n});\nconst NotionFetchBlockContents_PartialUserSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"UUID of the user.\"),\n object: z.string().describe(\"Always 'user'.\"),\n});\nconst NotionFetchBlockContents_ColumnListBlockSchema: z.ZodTypeAny = z.object({}).describe(\"Column list block properties. Column lists are parent blocks for columns and contain no additional properties.\");\nconst NotionFetchBlockContents_UnsupportedBlockSchema: z.ZodTypeAny = z.object({}).describe(\"Unsupported block properties. Represents block types not supported by the API.\");\nconst NotionFetchBlockContents_LinkPreviewBlockSchema: z.ZodTypeAny = z.object({\n url: z.string().describe(\"URL of the link preview.\"),\n});\nconst NotionFetchBlockContents_SyncedFromReferenceSchema: z.ZodTypeAny = z.object({\n type: z.string().describe(\"Always 'block_id' for synced block references.\"),\n block_id: z.string().describe(\"UUID of the original synced block that this block syncs from.\"),\n}).describe(\"Reference to the original synced block.\");\nconst NotionFetchBlockContents_SyncedBlockBlockSchema: z.ZodTypeAny = z.object({\n synced_from: NotionFetchBlockContents_SyncedFromReferenceSchema.nullable().optional(),\n}).describe(\"Synced block properties.\");\nconst NotionFetchBlockContents_ChildDatabaseBlockSchema: z.ZodTypeAny = z.object({\n title: z.string().describe(\"Title of the child database.\"),\n});\nconst NotionFetchBlockContents_TableOfContentsBlockSchema: z.ZodTypeAny = z.object({\n color: z.string().describe(\"Color of the table of contents block (e.g., 'default', 'blue', 'red', 'green', 'yellow', 'orange', 'pink', 'purple', 'brown', 'gray').\"),\n}).describe(\"Table of contents block properties.\");\nconst NotionFetchBlockContents_BulletedListItemBlockSchema: z.ZodTypeAny = z.object({\n color: z.string().describe(\"Color of the list item.\"),\n rich_text: z.array(NotionFetchBlockContents_RichTextSchema).describe(\"Array of rich text objects containing the list item content.\"),\n});\nconst NotionFetchBlockContents_NumberedListItemBlockSchema: z.ZodTypeAny = z.object({\n color: z.string().describe(\"Color of the list item.\"),\n rich_text: z.array(NotionFetchBlockContents_RichTextSchema).describe(\"Array of rich text objects containing the list item content.\"),\n});\nconst NotionFetchBlockContents_BlockSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier for the block (UUIDv4 format).\"),\n pdf: NotionFetchBlockContents_PdfBlockSchema.nullable().optional(),\n code: NotionFetchBlockContents_CodeBlockSchema.nullable().optional(),\n file: NotionFetchBlockContents_FileBlockSchema.nullable().optional(),\n type: z.string().describe(\"Type of block (e.g., 'paragraph', 'heading_1', 'heading_2', 'heading_3', 'bulleted_list_item', 'numbered_list_item', 'to_do', 'toggle', 'code', 'quote', 'callout', 'divider', 'table', 'table_row', 'column_list', 'column', 'child_database', 'child_page', 'image', 'video', 'file', 'pdf', 'bookmark', 'embed', 'equation', 'synced_block', 'template', 'table_of_contents', 'breadcrumb', 'link_preview', 'audio', 'unsupported').\"),\n audio: NotionFetchBlockContents_AudioBlockSchema.nullable().optional(),\n embed: NotionFetchBlockContents_EmbedBlockSchema.nullable().optional(),\n image: NotionFetchBlockContents_ImageBlockSchema.nullable().optional(),\n quote: NotionFetchBlockContents_QuoteBlockSchema.nullable().optional(),\n table: NotionFetchBlockContents_TableBlockSchema.nullable().optional(),\n to_do: NotionFetchBlockContents_ToDoBlockSchema.nullable().optional(),\n video: NotionFetchBlockContents_VideoBlockSchema.nullable().optional(),\n column: NotionFetchBlockContents_ColumnBlockSchema.nullable().optional(),\n object: z.string().describe(\"Always 'block'.\"),\n parent: NotionFetchBlockContents_ParentObjectSchema.nullable(),\n toggle: NotionFetchBlockContents_ToggleBlockSchema.nullable().optional(),\n callout: NotionFetchBlockContents_CalloutBlockSchema.nullable().optional(),\n divider: NotionFetchBlockContents_DividerBlockSchema.nullable().optional(),\n archived: z.boolean().describe(\"Whether the block is archived.\"),\n bookmark: NotionFetchBlockContents_BookmarkBlockSchema.nullable().optional(),\n equation: NotionFetchBlockContents_EquationBlockSchema.nullable().optional(),\n in_trash: z.boolean().describe(\"Whether the block has been deleted.\").nullable().optional(),\n template: NotionFetchBlockContents_TemplateBlockSchema.nullable().optional(),\n heading_1: NotionFetchBlockContents_HeadingBlockSchema.nullable().optional(),\n heading_2: NotionFetchBlockContents_HeadingBlockSchema.nullable().optional(),\n heading_3: NotionFetchBlockContents_HeadingBlockSchema.nullable().optional(),\n paragraph: NotionFetchBlockContents_ParagraphBlockSchema.nullable().optional(),\n table_row: NotionFetchBlockContents_TableRowBlockSchema.nullable().optional(),\n breadcrumb: NotionFetchBlockContents_BreadcrumbBlockSchema.nullable().optional(),\n child_page: NotionFetchBlockContents_ChildPageBlockSchema.nullable().optional(),\n created_by: NotionFetchBlockContents_PartialUserSchema.nullable(),\n column_list: NotionFetchBlockContents_ColumnListBlockSchema.nullable().optional(),\n unsupported: NotionFetchBlockContents_UnsupportedBlockSchema.nullable().optional(),\n created_time: z.string().describe(\"ISO 8601 timestamp when the block was created.\"),\n has_children: z.boolean().describe(\"Whether the block contains nested child blocks. When true, use retrieve block children recursively to get nested content.\"),\n link_preview: NotionFetchBlockContents_LinkPreviewBlockSchema.nullable().optional(),\n synced_block: NotionFetchBlockContents_SyncedBlockBlockSchema.nullable().optional(),\n child_database: NotionFetchBlockContents_ChildDatabaseBlockSchema.nullable().optional(),\n last_edited_by: NotionFetchBlockContents_PartialUserSchema.nullable(),\n last_edited_time: z.string().describe(\"ISO 8601 timestamp when the block was last edited.\"),\n table_of_contents: NotionFetchBlockContents_TableOfContentsBlockSchema.nullable().optional(),\n bulleted_list_item: NotionFetchBlockContents_BulletedListItemBlockSchema.nullable().optional(),\n numbered_list_item: NotionFetchBlockContents_NumberedListItemBlockSchema.nullable().optional(),\n});\nexport const NotionFetchBlockContentsOutput: z.ZodTypeAny = z.object({\n type: z.string().describe(\"Always 'block' for block list responses, indicating this is a block-type pagination.\").nullable().optional(),\n block: NotionFetchBlockContents_BlockPaginationMarkerSchema.nullable().optional(),\n object: z.string().describe(\"Always 'list' for paginated responses.\"),\n results: z.array(NotionFetchBlockContents_BlockSchema).describe(\"Array of child block objects contained in the specified block. Only includes first level children.\"),\n has_more: z.boolean().describe(\"Whether there are more results available beyond this page. Used for pagination.\"),\n next_cursor: z.string().describe(\"Cursor for retrieving the next page of results. Null if has_more is false. Use as start_cursor parameter in subsequent requests.\").nullable().optional(),\n composio_execution_message: z.string().describe(\"Optional message explaining special circumstances during execution, such as when a block type is not supported by the Notion API.\").nullable().optional(),\n});\n\nexport const notionFetchBlockContents = action(\"NOTION_FETCH_BLOCK_CONTENTS\", {\n slug: \"notion-fetch-block-contents\",\n name: \"Fetch Notion Block Children\",\n description: \"Retrieves a paginated list of direct, first-level child block objects along with contents for a given parent Notion block or page ID; use block IDs from the response for subsequent calls to access deeply nested content.\",\n input: NotionFetchBlockContentsInput,\n output: NotionFetchBlockContentsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAA8C,EAAE,OAAO;CAClE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,weAAwe;CACtgB,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qRAAqR,CAAC,CAAC,SAAS;CACrU,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,0SAA0S,CAAC,CAAC,SAAS;AACzV,CAAC;AACD,MAAM,uDAAqE,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,0DAA0D;AAC3J,MAAM,0CAAwD,EAAE,OAAO,EACrE,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,EACvD,CAAC;AACD,MAAM,6CAA2D,EAAE,OAAO;CACxE,MAAM,wCAAwC,SAAS,CAAC,CAAC,SAAS;CAClE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B;AACzD,CAAC;AACD,MAAM,gDAA8D,EAAE,OAAO,EAC3E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,8FAA8F,EAC1H,CAAC;AACD,MAAM,iDAA+D,EAAE,OAAO,EAC5E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,EACjE,CAAC;AACD,MAAM,qDAAmE,EAAE,OAAO;CAChF,MAAM,EAAE,QAAQ,CAAC,CAAC,SAAS,uBAAuB;CAClD,MAAM,EAAE,QAAQ,CAAC,CAAC,SAAS,oCAAoC;CAC/D,OAAO,E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cesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NotionFetchBlockContentsInput = z.object({\n block_id: z.string().describe(\"UUID of the parent Notion block or page whose children are to be fetched. Accepts both hyphenated (e.g., 'c02fc1d3-db8b-45c5-a222-27595b15aea7') and non-hyphenated (e.g., 'c02fc1d3db8b45c5a22227595b15aea7') UUID formats. Notion's API does not support special identifiers like 'root' or 'top-level' - you must always provide an actual page or block UUID. To discover valid page/block IDs, first use 'NOTION_SEARCH_NOTION_PAGE' to find pages or 'NOTION_QUERY_DATABASE' to query databases.\"),\n page_size: z.number().int().describe(\"The maximum number of child blocks to return in a single response. The actual number of results may be lower if there are fewer child blocks available or if the end of the list is reached. Maximum allowed value is 100. If unspecified, Notion's default page size will be used.\").optional(),\n start_cursor: z.string().describe(\"Pagination cursor from next_cursor in a previous API response. When paginating through results, pass the next_cursor value from the previous response here to fetch the next page. Must be a valid UUID format or cursor string returned by Notion's API. If omitted, returns the first page of results.\").optional(),\n});\nconst NotionFetchBlockContents_BlockPaginationMarkerSchema = z.object({}).describe(\"Empty object marker for block-type pagination responses.\");\nconst NotionFetchBlockContents_TextLinkSchema = z.object({\n url: z.string().describe(\"The URL the text links to.\").nullable(),\n});\nconst NotionFetchBlockContents_TextContentSchema = z.object({\n link: NotionFetchBlockContents_TextLinkSchema.nullable().optional(),\n content: z.string().describe(\"The actual text content.\").nullable(),\n});\nconst NotionFetchBlockContents_MentionContentSchema = z.object({\n type: z.string().describe(\"Type of mention ('database', 'date', 'link_preview', 'page', 'template_mention', or 'user').\").nullable(),\n});\nconst NotionFetchBlockContents_EquationContentSchema = z.object({\n expression: z.string().describe(\"LaTeX formula representation.\").nullable(),\n});\nconst NotionFetchBlockContents_RichTextAnnotationsSchema = z.object({\n bold: z.boolean().describe(\"Whether text is bold.\").nullable(),\n code: z.boolean().describe(\"Whether text is formatted as code.\").nullable(),\n color: z.string().describe(\"Text color or background color (e.g., 'default', 'blue', 'green', 'red', 'yellow', 'orange', 'pink', 'purple', 'brown', 'gray', or with '_background' suffix).\").nullable(),\n italic: z.boolean().describe(\"Whether text is italic.\").nullable(),\n underline: z.boolean().describe(\"Whether text is underlined.\").nullable(),\n strikethrough: z.boolean().describe(\"Whether text has strikethrough.\").nullable(),\n});\nconst NotionFetchBlockContents_RichTextSchema = z.object({\n href: z.string().describe(\"URL if the text is a link, otherwise null.\").nullable().optional(),\n text: NotionFetchBlockContents_TextContentSchema.nullable().optional(),\n type: z.string().describe(\"Type of rich text ('text', 'mention', or 'equation').\").nullable(),\n mention: NotionFetchBlockContents_MentionContentSchema.nullable().optional(),\n equation: NotionFetchBlockContents_EquationContentSchema.nullable().optional(),\n plain_text: z.string().describe(\"Unformatted text content.\").nullable(),\n annotations: NotionFetchBlockContents_RichTextAnnotationsSchema.nullable(),\n});\nconst NotionFetchBlockContents_PdfBlockSchema = z.object({\n type: z.string().describe(\"Type of PDF source ('external', 'file', or 'file_upload'). May be absent for incomplete or placeholder PDF blocks.\").nullable().optional(),\n caption: z.array(NotionFetchBlockContents_RichTextSchema).describe(\"Array of rich text objects for the PDF caption.\"),\n});\nconst NotionFetchBlockContents_CodeBlockSchema = z.object({\n caption: z.array(NotionFetchBlockContents_RichTextSchema).describe(\"Array of rich text objects for the caption.\"),\n language: z.string().describe(\"Programming language for syntax highlighting (supports 170+ languages).\").nullable(),\n rich_text: z.array(NotionFetchBlockContents_RichTextSchema).describe(\"Array of rich text objects containing the code content.\"),\n});\nconst NotionFetchBlockContents_FileBlockSchema = z.object({\n name: z.string().describe(\"Name of the file.\").nullable(),\n type: z.string().describe(\"Type of file source ('external', 'file', or 'file_upload'). May be absent for incomplete or placeholder file blocks.\").nullable().optional(),\n caption: z.array(NotionFetchBlockContents_RichTextSchema).describe(\"Array of rich text objects for the file caption.\"),\n});\nconst NotionFetchBlockContents_AudioBlockSchema = z.object({\n type: z.string().describe(\"Type of audio source ('external', 'file', or 'file_upload'). May be absent for incomplete or placeholder audio blocks.\").nullable().optional(),\n caption: z.array(NotionFetchBlockContents_RichTextSchema).describe(\"Array of rich text objects for the audio caption.\"),\n});\nconst NotionFetchBlockContents_EmbedBlockSchema = z.object({\n url: z.string().describe(\"URL of the embedded content.\").nullable(),\n caption: z.array(NotionFetchBlockContents_RichTextSchema).describe(\"Array of rich text objects for the embed caption.\"),\n});\nconst NotionFetchBlockContents_ImageBlockSchema = z.object({\n type: z.string().describe(\"Type of image source ('external', 'file', or 'file_upload'). May be absent for incomplete or placeholder image blocks.\").nullable().optional(),\n caption: z.array(NotionFetchBlockContents_RichTextSchema).describe(\"Array of rich text objects for the image caption.\"),\n});\nconst NotionFetchBlockContents_QuoteBlockSchema = z.object({\n color: z.string().describe(\"Color of the quote.\").nullable(),\n rich_text: z.array(NotionFetchBlockContents_RichTextSchema).describe(\"Array of rich text objects containing the quote content.\"),\n});\nconst NotionFetchBlockContents_TableBlockSchema = z.object({\n table_width: z.number().int().describe(\"Number of columns in the table.\").nullable(),\n has_row_header: z.boolean().describe(\"Whether the table has a row header.\").nullable(),\n has_column_header: z.boolean().describe(\"Whether the table has a column header.\").nullable(),\n});\nconst NotionFetchBlockContents_ToDoBlockSchema = z.object({\n color: z.string().describe(\"Color of the to-do item.\").nullable(),\n checked: z.boolean().describe(\"Whether the to-do is checked.\").nullable(),\n rich_text: z.array(NotionFetchBlockContents_RichTextSchema).describe(\"Array of rich text objects containing the to-do text.\"),\n});\nconst NotionFetchBlockContents_VideoBlockSchema = z.object({\n type: z.string().describe(\"Type of video source ('external', 'file', or 'file_upload'). May be absent for incomplete or placeholder video blocks.\").nullable().optional(),\n caption: z.array(NotionFetchBlockContents_RichTextSchema).describe(\"Array of rich text objects for the video caption.\"),\n});\nconst NotionFetchBlockContents_ColumnBlockSchema = z.object({\n width_ratio: z.number().describe(\"Width ratio of the column (0-1). Optional field that may not be present in all API responses.\").nullable().optional(),\n});\nconst NotionFetchBlockContents_ParentObjectSchema = z.object({\n type: z.string().describe(\"Type of parent ('page_id', 'database_id', 'block_id', 'workspace', or 'data_source_id').\").nullable(),\n page_id: z.string().describe(\"UUID of the parent page (present when type is 'page_id').\").nullable().optional(),\n block_id: z.string().describe(\"UUID of the parent block (present when type is 'block_id').\").nullable().optional(),\n workspace: z.boolean().describe(\"Always true when type is 'workspace', indicating a top-level page.\").nullable().optional(),\n database_id: z.string().describe(\"UUID of the parent database (present when type is 'database_id').\").nullable().optional(),\n data_source_id: z.string().describe(\"UUID of the parent data source (present when type is 'data_source_id').\").nullable().optional(),\n});\nconst NotionFetchBlockContents_ToggleBlockSchema = z.object({\n color: z.string().describe(\"Color of the toggle.\").nullable(),\n rich_text: z.array(NotionFetchBlockContents_RichTextSchema).describe(\"Array of rich text objects containing the toggle content.\"),\n});\nconst NotionFetchBlockContents_EmojiIconSchema = z.object({\n type: z.string().describe(\"Always 'emoji' for emoji icons.\").nullable(),\n emoji: z.string().describe(\"The emoji character (e.g., '😻', '📌').\").nullable(),\n}).describe(\"Emoji icon object for callouts and pages.\");\nconst NotionFetchBlockContents_CustomEmojiDataSchema = z.object({\n id: z.string().describe(\"Unique identifier for the custom emoji.\").nullable(),\n url: z.string().describe(\"Hosted URL pointing to the custom emoji image.\").nullable().optional(),\n name: z.string().describe(\"Display name of the custom emoji.\").nullable().optional(),\n}).describe(\"Custom emoji data containing metadata.\");\nconst NotionFetchBlockContents_CustomEmojiIconSchema = z.object({\n type: z.string().describe(\"Always 'custom_emoji' for workspace custom emoji icons.\").nullable(),\n custom_emoji: NotionFetchBlockContents_CustomEmojiDataSchema.nullable(),\n}).describe(\"Custom emoji icon object for callouts and pages.\");\nconst NotionFetchBlockContents_ExternalFileDataSchema = z.object({\n url: z.string().describe(\"HTTPS URL to the external file.\").nullable(),\n}).describe(\"External file data with URL.\");\nconst NotionFetchBlockContents_ExternalFileIconSchema = z.object({\n type: z.string().describe(\"Always 'external' for externally hosted files.\").nullable(),\n external: NotionFetchBlockContents_ExternalFileDataSchema.nullable(),\n}).describe(\"External file icon object for callouts.\");\nconst NotionFetchBlockContents_NotionFileDataSchema = z.object({\n url: z.string().describe(\"Authenticated S3 URL for the file (valid for 1 hour).\").nullable(),\n expiry_time: z.string().describe(\"ISO 8601 timestamp when the URL expires.\").nullable(),\n}).describe(\"Notion-hosted file data with URL and expiry time.\");\nconst NotionFetchBlockContents_NotionFileIconSchema = z.object({\n file: NotionFetchBlockContents_NotionFileDataSchema.nullable(),\n type: z.string().describe(\"Always 'file' for Notion-hosted files.\").nullable(),\n}).describe(\"Notion-hosted file icon object.\");\nconst NotionFetchBlockContents_CalloutBlockSchema = z.object({\n icon: z.union([NotionFetchBlockContents_EmojiIconSchema, NotionFetchBlockContents_CustomEmojiIconSchema, NotionFetchBlockContents_ExternalFileIconSchema, NotionFetchBlockContents_NotionFileIconSchema]).nullable().optional(),\n color: z.string().describe(\"Background color of the callout.\").nullable(),\n rich_text: z.array(NotionFetchBlockContents_RichTextSchema).describe(\"Array of rich text objects containing the callout content.\"),\n});\nconst NotionFetchBlockContents_DividerBlockSchema = z.object({}).describe(\"Divider block properties. Divider blocks contain no additional properties.\");\nconst NotionFetchBlockContents_BookmarkBlockSchema = z.object({\n url: z.string().describe(\"URL of the bookmarked resource.\").nullable(),\n caption: z.array(NotionFetchBlockContents_RichTextSchema).describe(\"Array of rich text objects for the bookmark caption.\"),\n});\nconst NotionFetchBlockContents_EquationBlockSchema = z.object({\n expression: z.string().describe(\"LaTeX expression for the equation.\").nullable(),\n});\nconst NotionFetchBlockContents_TemplateBlockSchema = z.object({\n rich_text: z.array(NotionFetchBlockContents_RichTextSchema).describe(\"Array of rich text objects displayed in the template button title.\"),\n}).describe(\"Template block properties. Note: Template blocks are deprecated as of March 27, 2023.\");\nconst NotionFetchBlockContents_HeadingBlockSchema = z.object({\n color: z.string().describe(\"Color of the heading.\").nullable(),\n rich_text: z.array(NotionFetchBlockContents_RichTextSchema).describe(\"Array of rich text objects containing the heading content.\"),\n is_toggleable: z.boolean().describe(\"Whether the heading can be toggled to show/hide children.\").nullable(),\n});\nconst NotionFetchBlockContents_ParagraphBlockSchema = z.object({\n color: z.string().describe(\"Color of the paragraph block.\").nullable(),\n rich_text: z.array(NotionFetchBlockContents_RichTextSchema).describe(\"Array of rich text objects containing the paragraph content.\"),\n});\nconst NotionFetchBlockContents_TableRowBlockSchema = z.object({\n cells: z.array(z.array(NotionFetchBlockContents_RichTextSchema)).describe(\"Array of arrays, where each inner array contains rich text objects for a cell.\"),\n});\nconst NotionFetchBlockContents_BreadcrumbBlockSchema = z.object({}).describe(\"Breadcrumb block properties. Breadcrumb blocks contain no additional properties.\");\nconst NotionFetchBlockContents_ChildPageBlockSchema = z.object({\n title: z.string().describe(\"Title of the child page.\").nullable(),\n});\nconst NotionFetchBlockContents_PartialUserSchema = z.object({\n id: z.string().describe(\"UUID of the user.\").nullable(),\n object: z.string().describe(\"Always 'user'.\").nullable(),\n});\nconst NotionFetchBlockContents_ColumnListBlockSchema = z.object({}).describe(\"Column list block properties. Column lists are parent blocks for columns and contain no additional properties.\");\nconst NotionFetchBlockContents_UnsupportedBlockSchema = z.object({}).describe(\"Unsupported block properties. Represents block types not supported by the API.\");\nconst NotionFetchBlockContents_LinkPreviewBlockSchema = z.object({\n url: z.string().describe(\"URL of the link preview.\").nullable(),\n});\nconst NotionFetchBlockContents_SyncedFromReferenceSchema = z.object({\n type: z.string().describe(\"Always 'block_id' for synced block references.\").nullable(),\n block_id: z.string().describe(\"UUID of the original synced block that this block syncs from.\").nullable(),\n}).describe(\"Reference to the original synced block.\");\nconst NotionFetchBlockContents_SyncedBlockBlockSchema = z.object({\n synced_from: NotionFetchBlockContents_SyncedFromReferenceSchema.nullable().optional(),\n}).describe(\"Synced block properties.\");\nconst NotionFetchBlockContents_ChildDatabaseBlockSchema = z.object({\n title: z.string().describe(\"Title of the child database.\").nullable(),\n});\nconst NotionFetchBlockContents_TableOfContentsBlockSchema = z.object({\n color: z.string().describe(\"Color of the table of contents block (e.g., 'default', 'blue', 'red', 'green', 'yellow', 'orange', 'pink', 'purple', 'brown', 'gray').\").nullable(),\n}).describe(\"Table of contents block properties.\");\nconst NotionFetchBlockContents_BulletedListItemBlockSchema = z.object({\n color: z.string().describe(\"Color of the list item.\").nullable(),\n rich_text: z.array(NotionFetchBlockContents_RichTextSchema).describe(\"Array of rich text objects containing the list item content.\"),\n});\nconst NotionFetchBlockContents_NumberedListItemBlockSchema = z.object({\n color: z.string().describe(\"Color of the list item.\").nullable(),\n rich_text: z.array(NotionFetchBlockContents_RichTextSchema).describe(\"Array of rich text objects containing the list item content.\"),\n});\nconst NotionFetchBlockContents_BlockSchema = z.object({\n id: z.string().describe(\"Unique identifier for the block (UUIDv4 format).\").nullable(),\n pdf: NotionFetchBlockContents_PdfBlockSchema.nullable().optional(),\n code: NotionFetchBlockContents_CodeBlockSchema.nullable().optional(),\n file: NotionFetchBlockContents_FileBlockSchema.nullable().optional(),\n type: z.string().describe(\"Type of block (e.g., 'paragraph', 'heading_1', 'heading_2', 'heading_3', 'bulleted_list_item', 'numbered_list_item', 'to_do', 'toggle', 'code', 'quote', 'callout', 'divider', 'table', 'table_row', 'column_list', 'column', 'child_database', 'child_page', 'image', 'video', 'file', 'pdf', 'bookmark', 'embed', 'equation', 'synced_block', 'template', 'table_of_contents', 'breadcrumb', 'link_preview', 'audio', 'unsupported').\").nullable(),\n audio: NotionFetchBlockContents_AudioBlockSchema.nullable().optional(),\n embed: NotionFetchBlockContents_EmbedBlockSchema.nullable().optional(),\n image: NotionFetchBlockContents_ImageBlockSchema.nullable().optional(),\n quote: NotionFetchBlockContents_QuoteBlockSchema.nullable().optional(),\n table: NotionFetchBlockContents_TableBlockSchema.nullable().optional(),\n to_do: NotionFetchBlockContents_ToDoBlockSchema.nullable().optional(),\n video: NotionFetchBlockContents_VideoBlockSchema.nullable().optional(),\n column: NotionFetchBlockContents_ColumnBlockSchema.nullable().optional(),\n object: z.string().describe(\"Always 'block'.\").nullable(),\n parent: NotionFetchBlockContents_ParentObjectSchema.nullable(),\n toggle: NotionFetchBlockContents_ToggleBlockSchema.nullable().optional(),\n callout: NotionFetchBlockContents_CalloutBlockSchema.nullable().optional(),\n divider: NotionFetchBlockContents_DividerBlockSchema.nullable().optional(),\n archived: z.boolean().describe(\"Whether the block is archived.\").nullable(),\n bookmark: NotionFetchBlockContents_BookmarkBlockSchema.nullable().optional(),\n equation: NotionFetchBlockContents_EquationBlockSchema.nullable().optional(),\n in_trash: z.boolean().describe(\"Whether the block has been deleted.\").nullable().optional(),\n template: NotionFetchBlockContents_TemplateBlockSchema.nullable().optional(),\n heading_1: NotionFetchBlockContents_HeadingBlockSchema.nullable().optional(),\n heading_2: NotionFetchBlockContents_HeadingBlockSchema.nullable().optional(),\n heading_3: NotionFetchBlockContents_HeadingBlockSchema.nullable().optional(),\n paragraph: NotionFetchBlockContents_ParagraphBlockSchema.nullable().optional(),\n table_row: NotionFetchBlockContents_TableRowBlockSchema.nullable().optional(),\n breadcrumb: NotionFetchBlockContents_BreadcrumbBlockSchema.nullable().optional(),\n child_page: NotionFetchBlockContents_ChildPageBlockSchema.nullable().optional(),\n created_by: NotionFetchBlockContents_PartialUserSchema.nullable(),\n column_list: NotionFetchBlockContents_ColumnListBlockSchema.nullable().optional(),\n unsupported: NotionFetchBlockContents_UnsupportedBlockSchema.nullable().optional(),\n created_time: z.string().describe(\"ISO 8601 timestamp when the block was created.\").nullable(),\n has_children: z.boolean().describe(\"Whether the block contains nested child blocks. When true, use retrieve block children recursively to get nested content.\").nullable(),\n link_preview: NotionFetchBlockContents_LinkPreviewBlockSchema.nullable().optional(),\n synced_block: NotionFetchBlockContents_SyncedBlockBlockSchema.nullable().optional(),\n child_database: NotionFetchBlockContents_ChildDatabaseBlockSchema.nullable().optional(),\n last_edited_by: NotionFetchBlockContents_PartialUserSchema.nullable(),\n last_edited_time: z.string().describe(\"ISO 8601 timestamp when the block was last edited.\").nullable(),\n table_of_contents: NotionFetchBlockContents_TableOfContentsBlockSchema.nullable().optional(),\n bulleted_list_item: NotionFetchBlockContents_BulletedListItemBlockSchema.nullable().optional(),\n numbered_list_item: NotionFetchBlockContents_NumberedListItemBlockSchema.nullable().optional(),\n});\nexport const NotionFetchBlockContentsOutput = z.object({\n type: z.string().describe(\"Always 'block' for block list responses, indicating this is a block-type pagination.\").nullable().optional(),\n block: NotionFetchBlockContents_BlockPaginationMarkerSchema.nullable().optional(),\n object: z.string().describe(\"Always 'list' for paginated responses.\").nullable(),\n results: z.array(NotionFetchBlockContents_BlockSchema).describe(\"Array of child block objects contained in the specified block. Only includes first level children.\"),\n has_more: z.boolean().describe(\"Whether there are more results available beyond this page. Used for pagination.\").nullable(),\n next_cursor: z.string().describe(\"Cursor for retrieving the next page of results. Null if has_more is false. Use as start_cursor parameter in subsequent requests.\").nullable().optional(),\n composio_execution_message: z.string().describe(\"Optional message explaining special circumstances during execution, such as when a block type is not supported by the Notion API.\").nullable().optional(),\n});\n\nexport const notionFetchBlockContents = action(\"NOTION_FETCH_BLOCK_CONTENTS\", {\n slug: \"notion-fetch-block-contents\",\n name: \"Fetch Notion Block Children\",\n description: \"Retrieves a paginated list of direct, first-level child block objects along with contents for a given parent Notion block or page ID; use block IDs from the response for subsequent calls to access deeply nested content.\",\n input: NotionFetchBlockContentsInput,\n output: NotionFetchBlockContentsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgC,EAAE,OAAO;CACpD,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,weAAwe;CACtgB,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qRAAqR,CAAC,CAAC,SAAS;CACrU,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,0SAA0S,CAAC,CAAC,SAAS;AACzV,CAAC;AACD,MAAM,uDAAuD,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,0DAA0D;AAC7I,MAAM,0CAA0C,EAAE,OAAO,EACvD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,EAClE,CAAC;AACD,MAAM,6CAA6C,EAAE,OAAO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