@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,9 +1,50 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-about-user.d.ts
4
- declare const NotionGetAboutUserInput: z.ZodTypeAny;
5
- declare const NotionGetAboutUserOutput: z.ZodTypeAny;
6
- declare const notionGetAboutUser: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const NotionGetAboutUserInput: z.ZodObject<{
5
+ user_id: z.ZodString;
6
+ }, z.core.$strip>;
7
+ declare const NotionGetAboutUserOutput: z.ZodObject<{
8
+ id: z.ZodNullable<z.ZodString>;
9
+ bot: z.ZodOptional<z.ZodNullable<z.ZodObject<{
10
+ owner: z.ZodOptional<z.ZodNullable<z.ZodObject<{
11
+ type: z.ZodNullable<z.ZodEnum<{
12
+ user: "user";
13
+ workspace: "workspace";
14
+ }>>;
15
+ user: z.ZodOptional<z.ZodNullable<z.ZodObject<{
16
+ id: z.ZodNullable<z.ZodString>;
17
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
+ type: z.ZodNullable<z.ZodString>;
19
+ object: z.ZodNullable<z.ZodString>;
20
+ person: z.ZodOptional<z.ZodNullable<z.ZodObject<{
21
+ email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22
+ }, z.core.$strip>>>;
23
+ avatar_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24
+ }, z.core.$strip>>>;
25
+ workspace: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
26
+ }, z.core.$strip>>>;
27
+ workspace_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
28
+ workspace_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29
+ workspace_limits: z.ZodOptional<z.ZodNullable<z.ZodObject<{
30
+ max_file_upload_size_in_bytes: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
31
+ }, z.core.$strip>>>;
32
+ }, z.core.$strip>>>;
33
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34
+ type: z.ZodNullable<z.ZodEnum<{
35
+ person: "person";
36
+ bot: "bot";
37
+ }>>;
38
+ object: z.ZodNullable<z.ZodString>;
39
+ person: z.ZodOptional<z.ZodNullable<z.ZodObject<{
40
+ email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
41
+ }, z.core.$strip>>>;
42
+ avatar_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
43
+ request_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
44
+ }, z.core.$strip>;
45
+ declare const notionGetAboutUser: import("@keystrokehq/action").WorkflowActionDefinition<{
46
+ user_id: string;
47
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
48
  //#endregion
8
49
  export { notionGetAboutUser };
9
50
  //# sourceMappingURL=get-about-user.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-about-user.d.cts","names":[],"sources":["../../src/actions/get-about-user.ts"],"mappings":";;;cAIa,uBAAA,EAAyB,CAAA,CAAE,UAEtC;AAAA,cA0BW,wBAAA,EAA0B,CAAA,CAAE,UASvC;AAAA,cAEW,kBAAA,gCAAkB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-about-user.d.cts","names":[],"sources":["../../src/actions/get-about-user.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;cA4BvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAWxB,kBAAA,gCAAkB,wBAAA"}
@@ -1,9 +1,50 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-about-user.d.ts
4
- declare const NotionGetAboutUserInput: z.ZodTypeAny;
5
- declare const NotionGetAboutUserOutput: z.ZodTypeAny;
6
- declare const notionGetAboutUser: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const NotionGetAboutUserInput: z.ZodObject<{
5
+ user_id: z.ZodString;
6
+ }, z.core.$strip>;
7
+ declare const NotionGetAboutUserOutput: z.ZodObject<{
8
+ id: z.ZodNullable<z.ZodString>;
9
+ bot: z.ZodOptional<z.ZodNullable<z.ZodObject<{
10
+ owner: z.ZodOptional<z.ZodNullable<z.ZodObject<{
11
+ type: z.ZodNullable<z.ZodEnum<{
12
+ user: "user";
13
+ workspace: "workspace";
14
+ }>>;
15
+ user: z.ZodOptional<z.ZodNullable<z.ZodObject<{
16
+ id: z.ZodNullable<z.ZodString>;
17
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
+ type: z.ZodNullable<z.ZodString>;
19
+ object: z.ZodNullable<z.ZodString>;
20
+ person: z.ZodOptional<z.ZodNullable<z.ZodObject<{
21
+ email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22
+ }, z.core.$strip>>>;
23
+ avatar_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24
+ }, z.core.$strip>>>;
25
+ workspace: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
26
+ }, z.core.$strip>>>;
27
+ workspace_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
28
+ workspace_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29
+ workspace_limits: z.ZodOptional<z.ZodNullable<z.ZodObject<{
30
+ max_file_upload_size_in_bytes: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
31
+ }, z.core.$strip>>>;
32
+ }, z.core.$strip>>>;
33
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34
+ type: z.ZodNullable<z.ZodEnum<{
35
+ person: "person";
36
+ bot: "bot";
37
+ }>>;
38
+ object: z.ZodNullable<z.ZodString>;
39
+ person: z.ZodOptional<z.ZodNullable<z.ZodObject<{
40
+ email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
41
+ }, z.core.$strip>>>;
42
+ avatar_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
43
+ request_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
44
+ }, z.core.$strip>;
45
+ declare const notionGetAboutUser: import("@keystrokehq/action").WorkflowActionDefinition<{
46
+ user_id: string;
47
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
48
  //#endregion
8
49
  export { notionGetAboutUser };
9
50
  //# sourceMappingURL=get-about-user.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-about-user.d.mts","names":[],"sources":["../../src/actions/get-about-user.ts"],"mappings":";;;cAIa,uBAAA,EAAyB,CAAA,CAAE,UAEtC;AAAA,cA0BW,wBAAA,EAA0B,CAAA,CAAE,UASvC;AAAA,cAEW,kBAAA,gCAAkB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-about-user.d.mts","names":[],"sources":["../../src/actions/get-about-user.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;cA4BvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAWxB,kBAAA,gCAAkB,wBAAA"}
@@ -4,15 +4,15 @@ import { z } from "zod";
4
4
  const NotionGetAboutUserInput = z.object({ user_id: z.string().describe("The unique identifier of the Notion user whose details are to be retrieved. This ID is used to fetch specific user information.") });
5
5
  const NotionGetAboutUser_PersonInfoSchema = z.object({ email: z.string().describe("Email address of the person. Only present if the integration has user capabilities that allow access to email addresses.").nullable().optional() });
6
6
  const NotionGetAboutUser_NestedPersonUserSchema = z.object({
7
- id: z.string().describe("Unique identifier of the person who authorized the integration."),
7
+ id: z.string().describe("Unique identifier of the person who authorized the integration.").nullable(),
8
8
  name: z.string().describe("Person’s display name, if available.").nullable().optional(),
9
- type: z.string().describe("Type of nested user; for an authorizing human this is \"person\"."),
10
- object: z.string().describe("Always \"user\" for the nested user object."),
9
+ type: z.string().describe("Type of nested user; for an authorizing human this is \"person\".").nullable(),
10
+ object: z.string().describe("Always \"user\" for the nested user object.").nullable(),
11
11
  person: NotionGetAboutUser_PersonInfoSchema.nullable().optional(),
12
12
  avatar_url: z.string().describe("URL of the person's avatar image, if set.").nullable().optional()
13
13
  });
14
14
  const NotionGetAboutUser_BotOwnerSchema = z.object({
15
- type: z.enum(["workspace", "user"]).describe("The type of owner for this bot."),
15
+ type: z.enum(["workspace", "user"]).describe("The type of owner for this bot.").nullable(),
16
16
  user: NotionGetAboutUser_NestedPersonUserSchema.nullable().optional(),
17
17
  workspace: z.boolean().describe("Present and true when the owner.type is \"workspace\".").nullable().optional()
18
18
  });
@@ -29,11 +29,11 @@ const notionGetAboutUser = action("NOTION_GET_ABOUT_USER", {
29
29
  description: "Retrieves detailed information about a specific Notion user, such as their name, avatar, and email, based on their unique user ID.",
30
30
  input: NotionGetAboutUserInput,
31
31
  output: z.object({
32
- id: z.string().describe("Unique identifier for this user."),
32
+ id: z.string().describe("Unique identifier for this user.").nullable(),
33
33
  bot: NotionGetAboutUser_BotInfoSchema.nullable().optional(),
34
34
  name: z.string().describe("User's display name. May be null or omitted.").nullable().optional(),
35
- type: z.enum(["person", "bot"]).describe("Type of the user; \"person\" or \"bot\"."),
36
- object: z.string().describe("Always the string \"user\"."),
35
+ type: z.enum(["person", "bot"]).describe("Type of the user; \"person\" or \"bot\".").nullable(),
36
+ object: z.string().describe("Always the string \"user\".").nullable(),
37
37
  person: NotionGetAboutUser_PersonInfoSchema.nullable().optional(),
38
38
  avatar_url: z.string().describe("URL of the user's avatar image, if set.").nullable().optional(),
39
39
  request_id: z.string().describe("The unique identifier for the API request that produced this response, when provided by client tooling or middleware. Not part of the official Notion response body but observed in some tool responses.").nullable().optional()
@@ -1 +1 @@
1
- {"version":3,"file":"get-about-user.mjs","names":[],"sources":["../../src/actions/get-about-user.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NotionGetAboutUserInput: z.ZodTypeAny = z.object({\n user_id: z.string().describe(\"The unique identifier of the Notion user whose details are to be retrieved. This ID is used to fetch specific user information.\"),\n});\nconst NotionGetAboutUser_PersonInfoSchema: z.ZodTypeAny = z.object({\n email: z.string().describe(\"Email address of the person. Only present if the integration has user capabilities that allow access to email addresses.\").nullable().optional(),\n});\nconst NotionGetAboutUser_NestedPersonUserSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier of the person who authorized the integration.\"),\n name: z.string().describe(\"Person’s display name, if available.\").nullable().optional(),\n type: z.string().describe(\"Type of nested user; for an authorizing human this is \\\"person\\\".\"),\n object: z.string().describe(\"Always \\\"user\\\" for the nested user object.\"),\n person: NotionGetAboutUser_PersonInfoSchema.nullable().optional(),\n avatar_url: z.string().describe(\"URL of the person's avatar image, if set.\").nullable().optional(),\n});\nconst NotionGetAboutUser_BotOwnerSchema: z.ZodTypeAny = z.object({\n type: z.enum([\"workspace\", \"user\"]).describe(\"The type of owner for this bot.\"),\n user: NotionGetAboutUser_NestedPersonUserSchema.nullable().optional(),\n workspace: z.boolean().describe(\"Present and true when the owner.type is \\\"workspace\\\".\").nullable().optional(),\n});\nconst NotionGetAboutUser_WorkspaceLimitsSchema: z.ZodTypeAny = z.object({\n max_file_upload_size_in_bytes: z.number().int().describe(\"Maximum allowable size for a file upload in bytes.\").nullable().optional(),\n});\nconst NotionGetAboutUser_BotInfoSchema: z.ZodTypeAny = z.object({\n owner: NotionGetAboutUser_BotOwnerSchema.nullable().optional(),\n workspace_id: z.string().describe(\"Identifier of the bot's workspace, when available.\").nullable().optional(),\n workspace_name: z.string().describe(\"Name of the workspace that owns the bot when owner.type is \\\"workspace\\\". If owner.type is \\\"user\\\", this is null.\").nullable().optional(),\n workspace_limits: NotionGetAboutUser_WorkspaceLimitsSchema.nullable().optional(),\n});\nexport const NotionGetAboutUserOutput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier for this user.\"),\n bot: NotionGetAboutUser_BotInfoSchema.nullable().optional(),\n name: z.string().describe(\"User's display name. May be null or omitted.\").nullable().optional(),\n type: z.enum([\"person\", \"bot\"]).describe(\"Type of the user; \\\"person\\\" or \\\"bot\\\".\"),\n object: z.string().describe(\"Always the string \\\"user\\\".\"),\n person: NotionGetAboutUser_PersonInfoSchema.nullable().optional(),\n avatar_url: z.string().describe(\"URL of the user's avatar image, if set.\").nullable().optional(),\n request_id: z.string().describe(\"The unique identifier for the API request that produced this response, when provided by client tooling or middleware. Not part of the official Notion response body but observed in some tool responses.\").nullable().optional(),\n});\n\nexport const notionGetAboutUser = action(\"NOTION_GET_ABOUT_USER\", {\n slug: \"notion-get-about-user\",\n name: \"Get about user\",\n description: \"Retrieves detailed information about a specific Notion user, such as their name, avatar, and email, based on their unique user ID.\",\n input: NotionGetAboutUserInput,\n output: NotionGetAboutUserOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAAwC,EAAE,OAAO,EAC5D,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,iIAAiI,EAChK,CAAC;AACD,MAAM,sCAAoD,EAAE,OAAO,EACjE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,0HAA0H,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC7K,CAAC;AACD,MAAM,4CAA0D,EAAE,OAAO;CACvE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE;CACzF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE;CAC7F,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C;CACzE,QAAQ,oCAAoC,SAAS,CAAC,CAAC,SAAS;CAChE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnG,CAAC;AACD,MAAM,oCAAkD,EAAE,OAAO;CAC/D,MAAM,EAAE,KAAK,CAAC,aAAa,MAAM,CAAC,CAAC,CAAC,SAAS,iCAAiC;CAC9E,MAAM,0CAA0C,SAAS,CAAC,CAAC,SAAS;CACpE,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChH,CAAC;AACD,MAAM,2CAAyD,EAAE,OAAO,EACtE,+BAA+B,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACrI,CAAC;AACD,MAAM,mCAAiD,EAAE,OAAO;CAC9D,OAAO,kCAAkC,SAAS,CAAC,CAAC,SAAS;CAC7D,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,oHAAoH,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9K,kBAAkB,yCAAyC,SAAS,CAAC,CAAC,SAAS;AACjF,CAAC;AAYD,MAAa,qBAAqB,OAAO,yBAAyB;CAChE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAhBoD,EAAE,OAAO;EAC7D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC;EAC1D,KAAK,iCAAiC,SAAS,CAAC,CAAC,SAAS;EAC1D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9F,MAAM,EAAE,KAAK,CAAC,UAAU,KAAK,CAAC,CAAC,CAAC,SAAS,0CAA0C;EACnF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B;EACzD,QAAQ,oCAAoC,SAAS,CAAC,CAAC,SAAS;EAChE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/F,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,0MAA0M,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClQ,CAOU;AACV,CAAC"}
1
+ {"version":3,"file":"get-about-user.mjs","names":[],"sources":["../../src/actions/get-about-user.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NotionGetAboutUserInput = z.object({\n user_id: z.string().describe(\"The unique identifier of the Notion user whose details are to be retrieved. This ID is used to fetch specific user information.\"),\n});\nconst NotionGetAboutUser_PersonInfoSchema = z.object({\n email: z.string().describe(\"Email address of the person. Only present if the integration has user capabilities that allow access to email addresses.\").nullable().optional(),\n});\nconst NotionGetAboutUser_NestedPersonUserSchema = z.object({\n id: z.string().describe(\"Unique identifier of the person who authorized the integration.\").nullable(),\n name: z.string().describe(\"Person’s display name, if available.\").nullable().optional(),\n type: z.string().describe(\"Type of nested user; for an authorizing human this is \\\"person\\\".\").nullable(),\n object: z.string().describe(\"Always \\\"user\\\" for the nested user object.\").nullable(),\n person: NotionGetAboutUser_PersonInfoSchema.nullable().optional(),\n avatar_url: z.string().describe(\"URL of the person's avatar image, if set.\").nullable().optional(),\n});\nconst NotionGetAboutUser_BotOwnerSchema = z.object({\n type: z.enum([\"workspace\", \"user\"]).describe(\"The type of owner for this bot.\").nullable(),\n user: NotionGetAboutUser_NestedPersonUserSchema.nullable().optional(),\n workspace: z.boolean().describe(\"Present and true when the owner.type is \\\"workspace\\\".\").nullable().optional(),\n});\nconst NotionGetAboutUser_WorkspaceLimitsSchema = z.object({\n max_file_upload_size_in_bytes: z.number().int().describe(\"Maximum allowable size for a file upload in bytes.\").nullable().optional(),\n});\nconst NotionGetAboutUser_BotInfoSchema = z.object({\n owner: NotionGetAboutUser_BotOwnerSchema.nullable().optional(),\n workspace_id: z.string().describe(\"Identifier of the bot's workspace, when available.\").nullable().optional(),\n workspace_name: z.string().describe(\"Name of the workspace that owns the bot when owner.type is \\\"workspace\\\". If owner.type is \\\"user\\\", this is null.\").nullable().optional(),\n workspace_limits: NotionGetAboutUser_WorkspaceLimitsSchema.nullable().optional(),\n});\nexport const NotionGetAboutUserOutput = z.object({\n id: z.string().describe(\"Unique identifier for this user.\").nullable(),\n bot: NotionGetAboutUser_BotInfoSchema.nullable().optional(),\n name: z.string().describe(\"User's display name. May be null or omitted.\").nullable().optional(),\n type: z.enum([\"person\", \"bot\"]).describe(\"Type of the user; \\\"person\\\" or \\\"bot\\\".\").nullable(),\n object: z.string().describe(\"Always the string \\\"user\\\".\").nullable(),\n person: NotionGetAboutUser_PersonInfoSchema.nullable().optional(),\n avatar_url: z.string().describe(\"URL of the user's avatar image, if set.\").nullable().optional(),\n request_id: z.string().describe(\"The unique identifier for the API request that produced this response, when provided by client tooling or middleware. Not part of the official Notion response body but observed in some tool responses.\").nullable().optional(),\n});\n\nexport const notionGetAboutUser = action(\"NOTION_GET_ABOUT_USER\", {\n slug: \"notion-get-about-user\",\n name: \"Get about user\",\n description: \"Retrieves detailed information about a specific Notion user, such as their name, avatar, and email, based on their unique user ID.\",\n input: NotionGetAboutUserInput,\n output: NotionGetAboutUserOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0B,EAAE,OAAO,EAC9C,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,iIAAiI,EAChK,CAAC;AACD,MAAM,sCAAsC,EAAE,OAAO,EACnD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,0HAA0H,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC7K,CAAC;AACD,MAAM,4CAA4C,EAAE,OAAO;CACzD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;CACpG,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS;CACxG,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CACpF,QAAQ,oCAAoC,SAAS,CAAC,CAAC,SAAS;CAChE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnG,CAAC;AACD,MAAM,oCAAoC,EAAE,OAAO;CACjD,MAAM,EAAE,KAAK,CAAC,aAAa,MAAM,CAAC,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACzF,MAAM,0CAA0C,SAAS,CAAC,CAAC,SAAS;CACpE,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChH,CAAC;AACD,MAAM,2CAA2C,EAAE,OAAO,EACxD,+BAA+B,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACrI,CAAC;AACD,MAAM,mCAAmC,EAAE,OAAO;CAChD,OAAO,kCAAkC,SAAS,CAAC,CAAC,SAAS;CAC7D,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,oHAAoH,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9K,kBAAkB,yCAAyC,SAAS,CAAC,CAAC,SAAS;AACjF,CAAC;AAYD,MAAa,qBAAqB,OAAO,yBAAyB;CAChE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAhBsC,EAAE,OAAO;EAC/C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;EACrE,KAAK,iCAAiC,SAAS,CAAC,CAAC,SAAS;EAC1D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9F,MAAM,EAAE,KAAK,CAAC,UAAU,KAAK,CAAC,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;EAC9F,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;EACpE,QAAQ,oCAAoC,SAAS,CAAC,CAAC,SAAS;EAChE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/F,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,0MAA0M,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClQ,CAOU;AACV,CAAC"}
@@ -6,10 +6,10 @@ const NotionGetPageMarkdownInput = zod.z.object({
6
6
  include_transcript: zod.z.boolean().describe("Set to true to include meeting note transcripts in the markdown response. Defaults to false if not specified.").optional()
7
7
  });
8
8
  const NotionGetPageMarkdownOutput = zod.z.object({
9
- id: zod.z.string().describe("Unique identifier of the page (UUIDv4 format)."),
10
- object: zod.z.string().describe("Always \"page_markdown\"."),
11
- markdown: zod.z.string().describe("Full page content rendered as enhanced Notion-flavored Markdown. Includes all text, formatting, blocks, and structure. File URLs are automatically converted to pre-signed URLs."),
12
- truncated: zod.z.boolean().describe("Indicates whether the content was truncated due to exceeding the ~20,000 block limit. If true, some content may be missing from the markdown."),
9
+ id: zod.z.string().describe("Unique identifier of the page (UUIDv4 format).").nullable(),
10
+ object: zod.z.string().describe("Always \"page_markdown\".").nullable(),
11
+ markdown: zod.z.string().describe("Full page content rendered as enhanced Notion-flavored Markdown. Includes all text, formatting, blocks, and structure. File URLs are automatically converted to pre-signed URLs.").nullable(),
12
+ truncated: zod.z.boolean().describe("Indicates whether the content was truncated due to exceeding the ~20,000 block limit. If true, some content may be missing from the markdown.").nullable(),
13
13
  unknown_block_ids: zod.z.array(zod.z.string()).describe("Array of block IDs that could not be rendered as markdown. These blocks may use unsupported or custom block types.")
14
14
  }).describe("Response for retrieving a Notion page's content as Notion-flavored Markdown.\nReturns the full page content rendered as markdown in a single API call.");
15
15
  const notionGetPageMarkdown = require_action.action("NOTION_GET_PAGE_MARKDOWN", {
@@ -1 +1 @@
1
- {"version":3,"file":"get-page-markdown.cjs","names":["z","action"],"sources":["../../src/actions/get-page-markdown.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NotionGetPageMarkdownInput: z.ZodTypeAny = z.object({\n page_id: z.string().describe(\"The UUID of the Notion page to retrieve as markdown. Accepts both hyphenated (8-4-4-4-12) and unhyphenated (32 characters) UUID formats. This endpoint retrieves the full page content rendered as Notion-flavored Markdown in a single API call, avoiding the need for recursive block-children fetching. IMPORTANT: Only page IDs are accepted - database IDs will be rejected. To retrieve database content, use the 'Fetch Database' or 'Query Database' actions instead.\"),\n include_transcript: z.boolean().describe(\"Set to true to include meeting note transcripts in the markdown response. Defaults to false if not specified.\").optional(),\n});\nexport const NotionGetPageMarkdownOutput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier of the page (UUIDv4 format).\"),\n object: z.string().describe(\"Always \\\"page_markdown\\\".\"),\n markdown: z.string().describe(\"Full page content rendered as enhanced Notion-flavored Markdown. Includes all text, formatting, blocks, and structure. File URLs are automatically converted to pre-signed URLs.\"),\n truncated: z.boolean().describe(\"Indicates whether the content was truncated due to exceeding the ~20,000 block limit. If true, some content may be missing from the markdown.\"),\n unknown_block_ids: z.array(z.string()).describe(\"Array of block IDs that could not be rendered as markdown. These blocks may use unsupported or custom block types.\"),\n}).describe(\"Response for retrieving a Notion page's content as Notion-flavored Markdown.\\nReturns the full page content rendered as markdown in a single API call.\");\n\nexport const notionGetPageMarkdown = action(\"NOTION_GET_PAGE_MARKDOWN\", {\n slug: \"notion-get-page-markdown\",\n name: \"Get page markdown\",\n description: \"Retrieve a Notion page's full content rendered as Notion-flavored Markdown in a single API call. Use when you need the readable content of a page without recursive block-children fetching.\",\n input: NotionGetPageMarkdownInput,\n output: NotionGetPageMarkdownOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA2CA,IAAAA,EAAE,OAAO;CAC/D,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+cAA+c;CAC5e,oBAAoBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,+GAA+G,CAAC,CAAC,SAAS;AACrK,CAAC;AACD,MAAa,8BAA4CA,IAAAA,EAAE,OAAO;CAChE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD;CACxE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;CACvD,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kLAAkL;CAChN,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,+IAA+I;CAC/K,mBAAmBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,oHAAoH;AACtK,CAAC,CAAC,CAAC,SAAS,wJAAwJ;AAEpK,MAAa,wBAAwBC,eAAAA,OAAO,4BAA4B;CACtE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-page-markdown.cjs","names":["z","action"],"sources":["../../src/actions/get-page-markdown.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NotionGetPageMarkdownInput = z.object({\n page_id: z.string().describe(\"The UUID of the Notion page to retrieve as markdown. Accepts both hyphenated (8-4-4-4-12) and unhyphenated (32 characters) UUID formats. This endpoint retrieves the full page content rendered as Notion-flavored Markdown in a single API call, avoiding the need for recursive block-children fetching. IMPORTANT: Only page IDs are accepted - database IDs will be rejected. To retrieve database content, use the 'Fetch Database' or 'Query Database' actions instead.\"),\n include_transcript: z.boolean().describe(\"Set to true to include meeting note transcripts in the markdown response. Defaults to false if not specified.\").optional(),\n});\nexport const NotionGetPageMarkdownOutput = z.object({\n id: z.string().describe(\"Unique identifier of the page (UUIDv4 format).\").nullable(),\n object: z.string().describe(\"Always \\\"page_markdown\\\".\").nullable(),\n markdown: z.string().describe(\"Full page content rendered as enhanced Notion-flavored Markdown. Includes all text, formatting, blocks, and structure. File URLs are automatically converted to pre-signed URLs.\").nullable(),\n truncated: z.boolean().describe(\"Indicates whether the content was truncated due to exceeding the ~20,000 block limit. If true, some content may be missing from the markdown.\").nullable(),\n unknown_block_ids: z.array(z.string()).describe(\"Array of block IDs that could not be rendered as markdown. These blocks may use unsupported or custom block types.\"),\n}).describe(\"Response for retrieving a Notion page's content as Notion-flavored Markdown.\\nReturns the full page content rendered as markdown in a single API call.\");\n\nexport const notionGetPageMarkdown = action(\"NOTION_GET_PAGE_MARKDOWN\", {\n slug: \"notion-get-page-markdown\",\n name: \"Get page markdown\",\n description: \"Retrieve a Notion page's full content rendered as Notion-flavored Markdown in a single API call. Use when you need the readable content of a page without recursive block-children fetching.\",\n input: NotionGetPageMarkdownInput,\n output: NotionGetPageMarkdownOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+cAA+c;CAC5e,oBAAoBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,+GAA+G,CAAC,CAAC,SAAS;AACrK,CAAC;AACD,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CACnF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CAClE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kLAAkL,CAAC,CAAC,SAAS;CAC3N,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,+IAA+I,CAAC,CAAC,SAAS;CAC1L,mBAAmBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,oHAAoH;AACtK,CAAC,CAAC,CAAC,SAAS,wJAAwJ;AAEpK,MAAa,wBAAwBC,eAAAA,OAAO,4BAA4B;CACtE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,21 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-page-markdown.d.ts
4
- declare const NotionGetPageMarkdownInput: z.ZodTypeAny;
5
- declare const NotionGetPageMarkdownOutput: z.ZodTypeAny;
6
- declare const notionGetPageMarkdown: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const NotionGetPageMarkdownInput: z.ZodObject<{
5
+ page_id: z.ZodString;
6
+ include_transcript: z.ZodOptional<z.ZodBoolean>;
7
+ }, z.core.$strip>;
8
+ declare const NotionGetPageMarkdownOutput: z.ZodObject<{
9
+ id: z.ZodNullable<z.ZodString>;
10
+ object: z.ZodNullable<z.ZodString>;
11
+ markdown: z.ZodNullable<z.ZodString>;
12
+ truncated: z.ZodNullable<z.ZodBoolean>;
13
+ unknown_block_ids: z.ZodArray<z.ZodString>;
14
+ }, z.core.$strip>;
15
+ declare const notionGetPageMarkdown: import("@keystrokehq/action").WorkflowActionDefinition<{
16
+ page_id: string;
17
+ include_transcript?: boolean | undefined;
18
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
19
  //#endregion
8
20
  export { notionGetPageMarkdown };
9
21
  //# sourceMappingURL=get-page-markdown.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-page-markdown.d.cts","names":[],"sources":["../../src/actions/get-page-markdown.ts"],"mappings":";;;cAIa,0BAAA,EAA4B,CAAA,CAAE,UAGzC;AAAA,cACW,2BAAA,EAA6B,CAAA,CAAE,UAMyH;AAAA,cAExJ,qBAAA,gCAAqB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-page-markdown.d.cts","names":[],"sources":["../../src/actions/get-page-markdown.ts"],"mappings":";;;cAIa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;cAI1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;cAQ3B,qBAAA,gCAAqB,wBAAA"}
@@ -1,9 +1,21 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-page-markdown.d.ts
4
- declare const NotionGetPageMarkdownInput: z.ZodTypeAny;
5
- declare const NotionGetPageMarkdownOutput: z.ZodTypeAny;
6
- declare const notionGetPageMarkdown: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const NotionGetPageMarkdownInput: z.ZodObject<{
5
+ page_id: z.ZodString;
6
+ include_transcript: z.ZodOptional<z.ZodBoolean>;
7
+ }, z.core.$strip>;
8
+ declare const NotionGetPageMarkdownOutput: z.ZodObject<{
9
+ id: z.ZodNullable<z.ZodString>;
10
+ object: z.ZodNullable<z.ZodString>;
11
+ markdown: z.ZodNullable<z.ZodString>;
12
+ truncated: z.ZodNullable<z.ZodBoolean>;
13
+ unknown_block_ids: z.ZodArray<z.ZodString>;
14
+ }, z.core.$strip>;
15
+ declare const notionGetPageMarkdown: import("@keystrokehq/action").WorkflowActionDefinition<{
16
+ page_id: string;
17
+ include_transcript?: boolean | undefined;
18
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
19
  //#endregion
8
20
  export { notionGetPageMarkdown };
9
21
  //# sourceMappingURL=get-page-markdown.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-page-markdown.d.mts","names":[],"sources":["../../src/actions/get-page-markdown.ts"],"mappings":";;;cAIa,0BAAA,EAA4B,CAAA,CAAE,UAGzC;AAAA,cACW,2BAAA,EAA6B,CAAA,CAAE,UAMyH;AAAA,cAExJ,qBAAA,gCAAqB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-page-markdown.d.mts","names":[],"sources":["../../src/actions/get-page-markdown.ts"],"mappings":";;;cAIa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;cAI1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;cAQ3B,qBAAA,gCAAqB,wBAAA"}
@@ -9,10 +9,10 @@ const notionGetPageMarkdown = action("NOTION_GET_PAGE_MARKDOWN", {
9
9
  include_transcript: z.boolean().describe("Set to true to include meeting note transcripts in the markdown response. Defaults to false if not specified.").optional()
10
10
  }),
11
11
  output: z.object({
12
- id: z.string().describe("Unique identifier of the page (UUIDv4 format)."),
13
- object: z.string().describe("Always \"page_markdown\"."),
14
- markdown: z.string().describe("Full page content rendered as enhanced Notion-flavored Markdown. Includes all text, formatting, blocks, and structure. File URLs are automatically converted to pre-signed URLs."),
15
- truncated: z.boolean().describe("Indicates whether the content was truncated due to exceeding the ~20,000 block limit. If true, some content may be missing from the markdown."),
12
+ id: z.string().describe("Unique identifier of the page (UUIDv4 format).").nullable(),
13
+ object: z.string().describe("Always \"page_markdown\".").nullable(),
14
+ markdown: z.string().describe("Full page content rendered as enhanced Notion-flavored Markdown. Includes all text, formatting, blocks, and structure. File URLs are automatically converted to pre-signed URLs.").nullable(),
15
+ truncated: z.boolean().describe("Indicates whether the content was truncated due to exceeding the ~20,000 block limit. If true, some content may be missing from the markdown.").nullable(),
16
16
  unknown_block_ids: z.array(z.string()).describe("Array of block IDs that could not be rendered as markdown. These blocks may use unsupported or custom block types.")
17
17
  }).describe("Response for retrieving a Notion page's content as Notion-flavored Markdown.\nReturns the full page content rendered as markdown in a single API call.")
18
18
  });
@@ -1 +1 @@
1
- {"version":3,"file":"get-page-markdown.mjs","names":[],"sources":["../../src/actions/get-page-markdown.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NotionGetPageMarkdownInput: z.ZodTypeAny = z.object({\n page_id: z.string().describe(\"The UUID of the Notion page to retrieve as markdown. Accepts both hyphenated (8-4-4-4-12) and unhyphenated (32 characters) UUID formats. This endpoint retrieves the full page content rendered as Notion-flavored Markdown in a single API call, avoiding the need for recursive block-children fetching. IMPORTANT: Only page IDs are accepted - database IDs will be rejected. To retrieve database content, use the 'Fetch Database' or 'Query Database' actions instead.\"),\n include_transcript: z.boolean().describe(\"Set to true to include meeting note transcripts in the markdown response. Defaults to false if not specified.\").optional(),\n});\nexport const NotionGetPageMarkdownOutput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier of the page (UUIDv4 format).\"),\n object: z.string().describe(\"Always \\\"page_markdown\\\".\"),\n markdown: z.string().describe(\"Full page content rendered as enhanced Notion-flavored Markdown. Includes all text, formatting, blocks, and structure. File URLs are automatically converted to pre-signed URLs.\"),\n truncated: z.boolean().describe(\"Indicates whether the content was truncated due to exceeding the ~20,000 block limit. If true, some content may be missing from the markdown.\"),\n unknown_block_ids: z.array(z.string()).describe(\"Array of block IDs that could not be rendered as markdown. These blocks may use unsupported or custom block types.\"),\n}).describe(\"Response for retrieving a Notion page's content as Notion-flavored Markdown.\\nReturns the full page content rendered as markdown in a single API call.\");\n\nexport const notionGetPageMarkdown = action(\"NOTION_GET_PAGE_MARKDOWN\", {\n slug: \"notion-get-page-markdown\",\n name: \"Get page markdown\",\n description: \"Retrieve a Notion page's full content rendered as Notion-flavored Markdown in a single API call. Use when you need the readable content of a page without recursive block-children fetching.\",\n input: NotionGetPageMarkdownInput,\n output: NotionGetPageMarkdownOutput,\n});\n"],"mappings":";;AAgBA,MAAa,wBAAwB,OAAO,4BAA4B;CACtE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhBsD,EAAE,OAAO;EAC/D,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,+cAA+c;EAC5e,oBAAoB,EAAE,QAAQ,CAAC,CAAC,SAAS,+GAA+G,CAAC,CAAC,SAAS;CACrK,CAaS;CACP,QAbuD,EAAE,OAAO;EAChE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD;EACxE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;EACvD,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,kLAAkL;EAChN,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,+IAA+I;EAC/K,mBAAmB,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,oHAAoH;CACtK,CAAC,CAAC,CAAC,SAAS,wJAOF;AACV,CAAC"}
1
+ {"version":3,"file":"get-page-markdown.mjs","names":[],"sources":["../../src/actions/get-page-markdown.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NotionGetPageMarkdownInput = z.object({\n page_id: z.string().describe(\"The UUID of the Notion page to retrieve as markdown. Accepts both hyphenated (8-4-4-4-12) and unhyphenated (32 characters) UUID formats. This endpoint retrieves the full page content rendered as Notion-flavored Markdown in a single API call, avoiding the need for recursive block-children fetching. IMPORTANT: Only page IDs are accepted - database IDs will be rejected. To retrieve database content, use the 'Fetch Database' or 'Query Database' actions instead.\"),\n include_transcript: z.boolean().describe(\"Set to true to include meeting note transcripts in the markdown response. Defaults to false if not specified.\").optional(),\n});\nexport const NotionGetPageMarkdownOutput = z.object({\n id: z.string().describe(\"Unique identifier of the page (UUIDv4 format).\").nullable(),\n object: z.string().describe(\"Always \\\"page_markdown\\\".\").nullable(),\n markdown: z.string().describe(\"Full page content rendered as enhanced Notion-flavored Markdown. Includes all text, formatting, blocks, and structure. File URLs are automatically converted to pre-signed URLs.\").nullable(),\n truncated: z.boolean().describe(\"Indicates whether the content was truncated due to exceeding the ~20,000 block limit. If true, some content may be missing from the markdown.\").nullable(),\n unknown_block_ids: z.array(z.string()).describe(\"Array of block IDs that could not be rendered as markdown. These blocks may use unsupported or custom block types.\"),\n}).describe(\"Response for retrieving a Notion page's content as Notion-flavored Markdown.\\nReturns the full page content rendered as markdown in a single API call.\");\n\nexport const notionGetPageMarkdown = action(\"NOTION_GET_PAGE_MARKDOWN\", {\n slug: \"notion-get-page-markdown\",\n name: \"Get page markdown\",\n description: \"Retrieve a Notion page's full content rendered as Notion-flavored Markdown in a single API call. Use when you need the readable content of a page without recursive block-children fetching.\",\n input: NotionGetPageMarkdownInput,\n output: NotionGetPageMarkdownOutput,\n});\n"],"mappings":";;AAgBA,MAAa,wBAAwB,OAAO,4BAA4B;CACtE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhBwC,EAAE,OAAO;EACjD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,+cAA+c;EAC5e,oBAAoB,EAAE,QAAQ,CAAC,CAAC,SAAS,+GAA+G,CAAC,CAAC,SAAS;CACrK,CAaS;CACP,QAbyC,EAAE,OAAO;EAClD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;EACnF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;EAClE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,kLAAkL,CAAC,CAAC,SAAS;EAC3N,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,+IAA+I,CAAC,CAAC,SAAS;EAC1L,mBAAmB,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,oHAAoH;CACtK,CAAC,CAAC,CAAC,SAAS,wJAOF;AACV,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"get-page-property-action.cjs","names":["z","action"],"sources":["../../src/actions/get-page-property-action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NotionGetPagePropertyActionInput: z.ZodTypeAny = z.object({\n page_id: z.string().describe(\"Identifier of the Notion page (e.g., '067dd719-a912-471e-a9a3-ac10710e78b4') from which to retrieve the property. Use the 'NOTION_FETCH_DATA' action or similar to discover available page IDs and their titles.\"),\n page_size: z.number().int().describe(\"For paginated property types (e.g., 'relation', 'rollup', 'rich_text' if content is extensive), this specifies the number of items to return per request. If omitted, Notion's default page size for the property is used.\").optional(),\n property_id: z.string().describe(\"Identifier or name of the property to retrieve. For 'title' properties, the ID is always 'title'. For other properties, this can be the property's name as displayed in Notion (e.g., 'Status', 'Assignee') or its unique programmatic ID (e.g., 'N%3A%5B%7C', 'prop_id_example'). Property IDs/names can be found by inspecting the page object or database schema.\"),\n start_cursor: z.string().describe(\"For paginated properties, if a previous request's response indicated `has_more: true`, provide the `next_cursor` value here to fetch the subsequent set of items. Omit if fetching the first page.\").optional(),\n}).describe(\"Request model for retrieving a specific property from a Notion page.\");\nexport const NotionGetPagePropertyActionOutput: z.ZodTypeAny = z.unknown();\n\nexport const notionGetPagePropertyAction = action(\"NOTION_GET_PAGE_PROPERTY_ACTION\", {\n slug: \"notion-get-page-property-action\",\n name: \"Get page property\",\n description: \"Call this to get a specific property from a Notion page when you have a valid `page_id` and `property_id`; handles pagination for properties returning multiple items.\",\n input: NotionGetPagePropertyActionInput,\n output: NotionGetPagePropertyActionOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAiDA,IAAAA,EAAE,OAAO;CACrE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kNAAkN;CAC/O,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4NAA4N,CAAC,CAAC,SAAS;CAC5Q,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sWAAsW;CACvY,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oMAAoM,CAAC,CAAC,SAAS;AACnP,CAAC,CAAC,CAAC,SAAS,sEAAsE;AAClF,MAAa,oCAAkDA,IAAAA,EAAE,QAAQ;AAEzE,MAAa,8BAA8BC,eAAAA,OAAO,mCAAmC;CACnF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-page-property-action.cjs","names":["z","action"],"sources":["../../src/actions/get-page-property-action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NotionGetPagePropertyActionInput = z.object({\n page_id: z.string().describe(\"Identifier of the Notion page (e.g., '067dd719-a912-471e-a9a3-ac10710e78b4') from which to retrieve the property. Use the 'NOTION_FETCH_DATA' action or similar to discover available page IDs and their titles.\"),\n page_size: z.number().int().describe(\"For paginated property types (e.g., 'relation', 'rollup', 'rich_text' if content is extensive), this specifies the number of items to return per request. If omitted, Notion's default page size for the property is used.\").optional(),\n property_id: z.string().describe(\"Identifier or name of the property to retrieve. For 'title' properties, the ID is always 'title'. For other properties, this can be the property's name as displayed in Notion (e.g., 'Status', 'Assignee') or its unique programmatic ID (e.g., 'N%3A%5B%7C', 'prop_id_example'). Property IDs/names can be found by inspecting the page object or database schema.\"),\n start_cursor: z.string().describe(\"For paginated properties, if a previous request's response indicated `has_more: true`, provide the `next_cursor` value here to fetch the subsequent set of items. Omit if fetching the first page.\").optional(),\n}).describe(\"Request model for retrieving a specific property from a Notion page.\");\nexport const NotionGetPagePropertyActionOutput = z.unknown();\n\nexport const notionGetPagePropertyAction = action(\"NOTION_GET_PAGE_PROPERTY_ACTION\", {\n slug: \"notion-get-page-property-action\",\n name: \"Get page property\",\n description: \"Call this to get a specific property from a Notion page when you have a valid `page_id` and `property_id`; handles pagination for properties returning multiple items.\",\n input: NotionGetPagePropertyActionInput,\n output: NotionGetPagePropertyActionOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kNAAkN;CAC/O,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4NAA4N,CAAC,CAAC,SAAS;CAC5Q,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sWAAsW;CACvY,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oMAAoM,CAAC,CAAC,SAAS;AACnP,CAAC,CAAC,CAAC,SAAS,sEAAsE;AAClF,MAAa,oCAAoCA,IAAAA,EAAE,QAAQ;AAE3D,MAAa,8BAA8BC,eAAAA,OAAO,mCAAmC;CACnF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,19 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-page-property-action.d.ts
4
- declare const NotionGetPagePropertyActionInput: z.ZodTypeAny;
5
- declare const NotionGetPagePropertyActionOutput: z.ZodTypeAny;
6
- declare const notionGetPagePropertyAction: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const NotionGetPagePropertyActionInput: z.ZodObject<{
5
+ page_id: z.ZodString;
6
+ page_size: z.ZodOptional<z.ZodNumber>;
7
+ property_id: z.ZodString;
8
+ start_cursor: z.ZodOptional<z.ZodString>;
9
+ }, z.core.$strip>;
10
+ declare const NotionGetPagePropertyActionOutput: z.ZodUnknown;
11
+ declare const notionGetPagePropertyAction: import("@keystrokehq/action").WorkflowActionDefinition<{
12
+ page_id: string;
13
+ property_id: string;
14
+ page_size?: number | undefined;
15
+ start_cursor?: string | undefined;
16
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
17
  //#endregion
8
18
  export { notionGetPagePropertyAction };
9
19
  //# sourceMappingURL=get-page-property-action.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-page-property-action.d.cts","names":[],"sources":["../../src/actions/get-page-property-action.ts"],"mappings":";;;cAIa,gCAAA,EAAkC,CAAA,CAAE,UAKkC;AAAA,cACtE,iCAAA,EAAmC,CAAA,CAAE,UAAwB;AAAA,cAE7D,2BAAA,gCAA2B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-page-property-action.d.cts","names":[],"sources":["../../src/actions/get-page-property-action.ts"],"mappings":";;;cAIa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;cAMhC,iCAAA,EAAiC,CAAA,CAAA,UAAc;AAAA,cAE/C,2BAAA,gCAA2B,wBAAA"}
@@ -1,9 +1,19 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-page-property-action.d.ts
4
- declare const NotionGetPagePropertyActionInput: z.ZodTypeAny;
5
- declare const NotionGetPagePropertyActionOutput: z.ZodTypeAny;
6
- declare const notionGetPagePropertyAction: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const NotionGetPagePropertyActionInput: z.ZodObject<{
5
+ page_id: z.ZodString;
6
+ page_size: z.ZodOptional<z.ZodNumber>;
7
+ property_id: z.ZodString;
8
+ start_cursor: z.ZodOptional<z.ZodString>;
9
+ }, z.core.$strip>;
10
+ declare const NotionGetPagePropertyActionOutput: z.ZodUnknown;
11
+ declare const notionGetPagePropertyAction: import("@keystrokehq/action").WorkflowActionDefinition<{
12
+ page_id: string;
13
+ property_id: string;
14
+ page_size?: number | undefined;
15
+ start_cursor?: string | undefined;
16
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
17
  //#endregion
8
18
  export { notionGetPagePropertyAction };
9
19
  //# sourceMappingURL=get-page-property-action.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-page-property-action.d.mts","names":[],"sources":["../../src/actions/get-page-property-action.ts"],"mappings":";;;cAIa,gCAAA,EAAkC,CAAA,CAAE,UAKkC;AAAA,cACtE,iCAAA,EAAmC,CAAA,CAAE,UAAwB;AAAA,cAE7D,2BAAA,gCAA2B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-page-property-action.d.mts","names":[],"sources":["../../src/actions/get-page-property-action.ts"],"mappings":";;;cAIa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;cAMhC,iCAAA,EAAiC,CAAA,CAAA,UAAc;AAAA,cAE/C,2BAAA,gCAA2B,wBAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"get-page-property-action.mjs","names":[],"sources":["../../src/actions/get-page-property-action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NotionGetPagePropertyActionInput: z.ZodTypeAny = z.object({\n page_id: z.string().describe(\"Identifier of the Notion page (e.g., '067dd719-a912-471e-a9a3-ac10710e78b4') from which to retrieve the property. Use the 'NOTION_FETCH_DATA' action or similar to discover available page IDs and their titles.\"),\n page_size: z.number().int().describe(\"For paginated property types (e.g., 'relation', 'rollup', 'rich_text' if content is extensive), this specifies the number of items to return per request. If omitted, Notion's default page size for the property is used.\").optional(),\n property_id: z.string().describe(\"Identifier or name of the property to retrieve. For 'title' properties, the ID is always 'title'. For other properties, this can be the property's name as displayed in Notion (e.g., 'Status', 'Assignee') or its unique programmatic ID (e.g., 'N%3A%5B%7C', 'prop_id_example'). Property IDs/names can be found by inspecting the page object or database schema.\"),\n start_cursor: z.string().describe(\"For paginated properties, if a previous request's response indicated `has_more: true`, provide the `next_cursor` value here to fetch the subsequent set of items. Omit if fetching the first page.\").optional(),\n}).describe(\"Request model for retrieving a specific property from a Notion page.\");\nexport const NotionGetPagePropertyActionOutput: z.ZodTypeAny = z.unknown();\n\nexport const notionGetPagePropertyAction = action(\"NOTION_GET_PAGE_PROPERTY_ACTION\", {\n slug: \"notion-get-page-property-action\",\n name: \"Get page property\",\n description: \"Call this to get a specific property from a Notion page when you have a valid `page_id` and `property_id`; handles pagination for properties returning multiple items.\",\n input: NotionGetPagePropertyActionInput,\n output: NotionGetPagePropertyActionOutput,\n});\n"],"mappings":";;AAYA,MAAa,8BAA8B,OAAO,mCAAmC;CACnF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZ4D,EAAE,OAAO;EACrE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,kNAAkN;EAC/O,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4NAA4N,CAAC,CAAC,SAAS;EAC5Q,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,sWAAsW;EACvY,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,oMAAoM,CAAC,CAAC,SAAS;CACnP,CAAC,CAAC,CAAC,SAAS,sEAOH;CACP,QAP6D,EAAE,QAOvD;AACV,CAAC"}
1
+ {"version":3,"file":"get-page-property-action.mjs","names":[],"sources":["../../src/actions/get-page-property-action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NotionGetPagePropertyActionInput = z.object({\n page_id: z.string().describe(\"Identifier of the Notion page (e.g., '067dd719-a912-471e-a9a3-ac10710e78b4') from which to retrieve the property. Use the 'NOTION_FETCH_DATA' action or similar to discover available page IDs and their titles.\"),\n page_size: z.number().int().describe(\"For paginated property types (e.g., 'relation', 'rollup', 'rich_text' if content is extensive), this specifies the number of items to return per request. If omitted, Notion's default page size for the property is used.\").optional(),\n property_id: z.string().describe(\"Identifier or name of the property to retrieve. For 'title' properties, the ID is always 'title'. For other properties, this can be the property's name as displayed in Notion (e.g., 'Status', 'Assignee') or its unique programmatic ID (e.g., 'N%3A%5B%7C', 'prop_id_example'). Property IDs/names can be found by inspecting the page object or database schema.\"),\n start_cursor: z.string().describe(\"For paginated properties, if a previous request's response indicated `has_more: true`, provide the `next_cursor` value here to fetch the subsequent set of items. Omit if fetching the first page.\").optional(),\n}).describe(\"Request model for retrieving a specific property from a Notion page.\");\nexport const NotionGetPagePropertyActionOutput = z.unknown();\n\nexport const notionGetPagePropertyAction = action(\"NOTION_GET_PAGE_PROPERTY_ACTION\", {\n slug: \"notion-get-page-property-action\",\n name: \"Get page property\",\n description: \"Call this to get a specific property from a Notion page when you have a valid `page_id` and `property_id`; handles pagination for properties returning multiple items.\",\n input: NotionGetPagePropertyActionInput,\n output: NotionGetPagePropertyActionOutput,\n});\n"],"mappings":";;AAYA,MAAa,8BAA8B,OAAO,mCAAmC;CACnF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZ8C,EAAE,OAAO;EACvD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,kNAAkN;EAC/O,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4NAA4N,CAAC,CAAC,SAAS;EAC5Q,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,sWAAsW;EACvY,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,oMAAoM,CAAC,CAAC,SAAS;CACnP,CAAC,CAAC,CAAC,SAAS,sEAOH;CACP,QAP+C,EAAE,QAOzC;AACV,CAAC"}
@@ -61,75 +61,75 @@ const NotionInsertRowDatabaseInput = zod.z.object({
61
61
  }).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.")).default([]).describe("A list of `NotionRichText` objects defining content blocks (e.g., paragraphs, headings, media) to append to the new page's body. Accepts either a list of objects OR a JSON-encoded string representing a list. If omitted, the page body will be empty. \n\n**Supported block types:** paragraph, heading_1, heading_2, heading_3, callout, to_do, toggle, quote, bulleted_list_item, numbered_list_item, divider, image, video, file. \n\n**Media blocks (image, video, file):** Require the `link` field with an external URL. The Notion API does not support uploading files directly - you must provide publicly accessible URLs.\n\n**Note:** Notion API limits children to 100 blocks per request. If more than 100 blocks are provided, the action will automatically create the page with the first 100 blocks and then append remaining blocks in subsequent API calls.").optional()
62
62
  });
63
63
  const NotionInsertRowDatabase_EmojiIconSchema = zod.z.object({
64
- type: zod.z.string().describe("Always \"emoji\"."),
65
- emoji: zod.z.string().describe("The emoji character (e.g., '😻').")
64
+ type: zod.z.string().describe("Always \"emoji\".").nullable(),
65
+ emoji: zod.z.string().describe("The emoji character (e.g., '😻').").nullable()
66
66
  }).describe("Standard emoji icon.");
67
67
  const NotionInsertRowDatabase_CustomEmojiObjectSchema = zod.z.object({
68
- id: zod.z.string().describe("Unique identifier for the custom emoji."),
69
- url: zod.z.string().describe("HTTPS URL to the emoji image."),
70
- name: zod.z.string().describe("Display name of the custom emoji.")
68
+ id: zod.z.string().describe("Unique identifier for the custom emoji.").nullable(),
69
+ url: zod.z.string().describe("HTTPS URL to the emoji image.").nullable(),
70
+ name: zod.z.string().describe("Display name of the custom emoji.").nullable()
71
71
  }).describe("Custom emoji object with identifier, name, and URL.");
72
72
  const NotionInsertRowDatabase_CustomEmojiIconSchema = zod.z.object({
73
- type: zod.z.string().describe("Always \"custom_emoji\"."),
73
+ type: zod.z.string().describe("Always \"custom_emoji\".").nullable(),
74
74
  custom_emoji: NotionInsertRowDatabase_CustomEmojiObjectSchema.nullable()
75
75
  }).describe("Custom emoji icon.");
76
76
  const NotionInsertRowDatabase_NotionHostedFileSchema = zod.z.object({
77
- url: zod.z.string().describe("Authenticated URL to the file, valid for one hour."),
78
- expiry_time: zod.z.string().describe("ISO 8601 timestamp when the URL expires.")
77
+ url: zod.z.string().describe("Authenticated URL to the file, valid for one hour.").nullable(),
78
+ expiry_time: zod.z.string().describe("ISO 8601 timestamp when the URL expires.").nullable()
79
79
  }).describe("Notion-hosted file with authenticated URL.");
80
80
  const NotionInsertRowDatabase_FileIconWithHostedSchema = zod.z.object({
81
81
  file: NotionInsertRowDatabase_NotionHostedFileSchema.nullable(),
82
- type: zod.z.string().describe("Always \"file\".")
82
+ type: zod.z.string().describe("Always \"file\".").nullable()
83
83
  }).describe("File icon with Notion-hosted file.");
84
- const NotionInsertRowDatabase_FileUploadObjectSchema = zod.z.object({ id: zod.z.string().describe("UUID of the uploaded file object.") }).describe("File uploaded via API.");
84
+ const NotionInsertRowDatabase_FileUploadObjectSchema = zod.z.object({ id: zod.z.string().describe("UUID of the uploaded file object.").nullable() }).describe("File uploaded via API.");
85
85
  const NotionInsertRowDatabase_FileIconWithUploadSchema = zod.z.object({
86
- type: zod.z.string().describe("Always \"file_upload\"."),
86
+ type: zod.z.string().describe("Always \"file_upload\".").nullable(),
87
87
  file_upload: NotionInsertRowDatabase_FileUploadObjectSchema.nullable()
88
88
  }).describe("File icon with uploaded file.");
89
- const NotionInsertRowDatabase_ExternalFileObjectSchema = zod.z.object({ url: zod.z.string().describe("Link to the externally hosted content.") }).describe("External file reference.");
89
+ const NotionInsertRowDatabase_ExternalFileObjectSchema = zod.z.object({ url: zod.z.string().describe("Link to the externally hosted content.").nullable() }).describe("External file reference.");
90
90
  const NotionInsertRowDatabase_FileIconWithExternalSchema = zod.z.object({
91
- type: zod.z.string().describe("Always \"external\"."),
91
+ type: zod.z.string().describe("Always \"external\".").nullable(),
92
92
  external: NotionInsertRowDatabase_ExternalFileObjectSchema.nullable()
93
93
  }).describe("File icon with external URL.");
94
94
  const NotionInsertRowDatabase_CoverWithHostedSchema = zod.z.object({
95
95
  file: NotionInsertRowDatabase_NotionHostedFileSchema.nullable(),
96
- type: zod.z.string().describe("Always \"file\".")
96
+ type: zod.z.string().describe("Always \"file\".").nullable()
97
97
  }).describe("Cover with Notion-hosted file.");
98
98
  const NotionInsertRowDatabase_CoverWithUploadSchema = zod.z.object({
99
- type: zod.z.string().describe("Always \"file_upload\"."),
99
+ type: zod.z.string().describe("Always \"file_upload\".").nullable(),
100
100
  file_upload: NotionInsertRowDatabase_FileUploadObjectSchema.nullable()
101
101
  }).describe("Cover with uploaded file.");
102
102
  const NotionInsertRowDatabase_CoverWithExternalSchema = zod.z.object({
103
- type: zod.z.string().describe("Always \"external\"."),
103
+ type: zod.z.string().describe("Always \"external\".").nullable(),
104
104
  external: NotionInsertRowDatabase_ExternalFileObjectSchema.nullable()
105
105
  }).describe("Cover with external URL.");
106
106
  const NotionInsertRowDatabase_DatabaseParentSchema = zod.z.object({
107
- type: zod.z.string().describe("Always \"database_id\"."),
108
- database_id: zod.z.string().describe("The database identifier in UUIDv4 format.")
107
+ type: zod.z.string().describe("Always \"database_id\".").nullable(),
108
+ database_id: zod.z.string().describe("The database identifier in UUIDv4 format.").nullable()
109
109
  }).describe("Parent is a database.");
110
110
  const NotionInsertRowDatabase_DataSourceParentSchema = zod.z.object({
111
- type: zod.z.string().describe("Always \"data_source_id\"."),
111
+ type: zod.z.string().describe("Always \"data_source_id\".").nullable(),
112
112
  database_id: zod.z.string().describe("The parent database identifier in UUIDv4 format.").nullable().optional(),
113
- data_source_id: zod.z.string().describe("The data source identifier in UUIDv4 format.")
113
+ data_source_id: zod.z.string().describe("The data source identifier in UUIDv4 format.").nullable()
114
114
  }).describe("Parent is a data source.");
115
115
  const NotionInsertRowDatabase_PageParentSchema = zod.z.object({
116
- type: zod.z.string().describe("Always \"page_id\"."),
117
- page_id: zod.z.string().describe("The page identifier in UUIDv4 format.")
116
+ type: zod.z.string().describe("Always \"page_id\".").nullable(),
117
+ page_id: zod.z.string().describe("The page identifier in UUIDv4 format.").nullable()
118
118
  }).describe("Parent is a page.");
119
119
  const NotionInsertRowDatabase_WorkspaceParentSchema = zod.z.object({
120
- type: zod.z.string().describe("Always \"workspace\"."),
121
- workspace: zod.z.boolean().describe("Always true.")
120
+ type: zod.z.string().describe("Always \"workspace\".").nullable(),
121
+ workspace: zod.z.boolean().describe("Always true.").nullable()
122
122
  }).describe("Parent is the workspace.");
123
123
  const NotionInsertRowDatabase_BlockParentSchema = zod.z.object({
124
- type: zod.z.string().describe("Always \"block_id\"."),
125
- block_id: zod.z.string().describe("The block identifier in UUIDv4 format.")
124
+ type: zod.z.string().describe("Always \"block_id\".").nullable(),
125
+ block_id: zod.z.string().describe("The block identifier in UUIDv4 format.").nullable()
126
126
  }).describe("Parent is a block.");
127
127
  const NotionInsertRowDatabase_PartialUserSchema = zod.z.object({
128
- id: zod.z.string().describe("Unique identifier for the user in UUID format."),
129
- object: zod.z.string().describe("Always \"user\".")
128
+ id: zod.z.string().describe("Unique identifier for the user in UUID format.").nullable(),
129
+ object: zod.z.string().describe("Always \"user\".").nullable()
130
130
  }).describe("Partial user object representing a Notion user.");
131
131
  const NotionInsertRowDatabaseOutput = zod.z.object({
132
- id: zod.z.string().describe("Unique identifier for the page in UUIDv4 format."),
132
+ id: zod.z.string().describe("Unique identifier for the page in UUIDv4 format.").nullable(),
133
133
  url: zod.z.string().describe("URL of the Notion page.").nullable().optional(),
134
134
  icon: zod.z.union([
135
135
  NotionInsertRowDatabase_EmojiIconSchema,
@@ -143,7 +143,7 @@ const NotionInsertRowDatabaseOutput = zod.z.object({
143
143
  NotionInsertRowDatabase_CoverWithUploadSchema,
144
144
  NotionInsertRowDatabase_CoverWithExternalSchema
145
145
  ]).nullable().optional(),
146
- object: zod.z.string().describe("Always \"page\". Identifies the type of object."),
146
+ object: zod.z.string().describe("Always \"page\". Identifies the type of object.").nullable(),
147
147
  parent: zod.z.union([
148
148
  NotionInsertRowDatabase_DatabaseParentSchema,
149
149
  NotionInsertRowDatabase_DataSourceParentSchema,