@keystrokehq/notion 0.1.0 → 0.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (362) hide show
  1. package/README.md +1 -1
  2. package/dist/action.cjs.map +1 -1
  3. package/dist/action.mjs.map +1 -1
  4. package/dist/actions/add-multiple-page-content.cjs +13 -13
  5. package/dist/actions/add-multiple-page-content.cjs.map +1 -1
  6. package/dist/actions/add-multiple-page-content.d.cts +90 -3
  7. package/dist/actions/add-multiple-page-content.d.cts.map +1 -1
  8. package/dist/actions/add-multiple-page-content.d.mts +90 -3
  9. package/dist/actions/add-multiple-page-content.d.mts.map +1 -1
  10. package/dist/actions/add-multiple-page-content.mjs +13 -13
  11. package/dist/actions/add-multiple-page-content.mjs.map +1 -1
  12. package/dist/actions/append-code-blocks.cjs +100 -100
  13. package/dist/actions/append-code-blocks.cjs.map +1 -1
  14. package/dist/actions/append-code-blocks.d.cts +867 -3
  15. package/dist/actions/append-code-blocks.d.cts.map +1 -1
  16. package/dist/actions/append-code-blocks.d.mts +867 -3
  17. package/dist/actions/append-code-blocks.d.mts.map +1 -1
  18. package/dist/actions/append-code-blocks.mjs +100 -100
  19. package/dist/actions/append-code-blocks.mjs.map +1 -1
  20. package/dist/actions/append-layout-blocks.cjs +91 -91
  21. package/dist/actions/append-layout-blocks.cjs.map +1 -1
  22. package/dist/actions/append-layout-blocks.d.cts +652 -3
  23. package/dist/actions/append-layout-blocks.d.cts.map +1 -1
  24. package/dist/actions/append-layout-blocks.d.mts +652 -3
  25. package/dist/actions/append-layout-blocks.d.mts.map +1 -1
  26. package/dist/actions/append-layout-blocks.mjs +91 -91
  27. package/dist/actions/append-layout-blocks.mjs.map +1 -1
  28. package/dist/actions/append-media-blocks.cjs +125 -125
  29. package/dist/actions/append-media-blocks.cjs.map +1 -1
  30. package/dist/actions/append-media-blocks.d.cts +1039 -3
  31. package/dist/actions/append-media-blocks.d.cts.map +1 -1
  32. package/dist/actions/append-media-blocks.d.mts +1039 -3
  33. package/dist/actions/append-media-blocks.d.mts.map +1 -1
  34. package/dist/actions/append-media-blocks.mjs +125 -125
  35. package/dist/actions/append-media-blocks.mjs.map +1 -1
  36. package/dist/actions/append-table-blocks.cjs +87 -87
  37. package/dist/actions/append-table-blocks.cjs.map +1 -1
  38. package/dist/actions/append-table-blocks.d.cts +630 -3
  39. package/dist/actions/append-table-blocks.d.cts.map +1 -1
  40. package/dist/actions/append-table-blocks.d.mts +630 -3
  41. package/dist/actions/append-table-blocks.d.mts.map +1 -1
  42. package/dist/actions/append-table-blocks.mjs +87 -87
  43. package/dist/actions/append-table-blocks.mjs.map +1 -1
  44. package/dist/actions/append-task-blocks.cjs +101 -101
  45. package/dist/actions/append-task-blocks.cjs.map +1 -1
  46. package/dist/actions/append-task-blocks.d.cts +845 -3
  47. package/dist/actions/append-task-blocks.d.cts.map +1 -1
  48. package/dist/actions/append-task-blocks.d.mts +845 -3
  49. package/dist/actions/append-task-blocks.d.mts.map +1 -1
  50. package/dist/actions/append-task-blocks.mjs +101 -101
  51. package/dist/actions/append-task-blocks.mjs.map +1 -1
  52. package/dist/actions/append-text-blocks.cjs +118 -118
  53. package/dist/actions/append-text-blocks.cjs.map +1 -1
  54. package/dist/actions/append-text-blocks.d.cts +1116 -3
  55. package/dist/actions/append-text-blocks.d.cts.map +1 -1
  56. package/dist/actions/append-text-blocks.d.mts +1116 -3
  57. package/dist/actions/append-text-blocks.d.mts.map +1 -1
  58. package/dist/actions/append-text-blocks.mjs +118 -118
  59. package/dist/actions/append-text-blocks.mjs.map +1 -1
  60. package/dist/actions/archive-notion-page.cjs +43 -43
  61. package/dist/actions/archive-notion-page.cjs.map +1 -1
  62. package/dist/actions/archive-notion-page.d.cts +78 -3
  63. package/dist/actions/archive-notion-page.d.cts.map +1 -1
  64. package/dist/actions/archive-notion-page.d.mts +78 -3
  65. package/dist/actions/archive-notion-page.d.mts.map +1 -1
  66. package/dist/actions/archive-notion-page.mjs +43 -43
  67. package/dist/actions/archive-notion-page.mjs.map +1 -1
  68. package/dist/actions/create-comment.cjs.map +1 -1
  69. package/dist/actions/create-comment.d.cts +46 -3
  70. package/dist/actions/create-comment.d.cts.map +1 -1
  71. package/dist/actions/create-comment.d.mts +46 -3
  72. package/dist/actions/create-comment.d.mts.map +1 -1
  73. package/dist/actions/create-comment.mjs.map +1 -1
  74. package/dist/actions/create-database.cjs +44 -44
  75. package/dist/actions/create-database.cjs.map +1 -1
  76. package/dist/actions/create-database.d.cts +140 -3
  77. package/dist/actions/create-database.d.cts.map +1 -1
  78. package/dist/actions/create-database.d.mts +140 -3
  79. package/dist/actions/create-database.d.mts.map +1 -1
  80. package/dist/actions/create-database.mjs +44 -44
  81. package/dist/actions/create-database.mjs.map +1 -1
  82. package/dist/actions/create-file-upload.cjs +9 -9
  83. package/dist/actions/create-file-upload.cjs.map +1 -1
  84. package/dist/actions/create-file-upload.d.cts +38 -3
  85. package/dist/actions/create-file-upload.d.cts.map +1 -1
  86. package/dist/actions/create-file-upload.d.mts +38 -3
  87. package/dist/actions/create-file-upload.d.mts.map +1 -1
  88. package/dist/actions/create-file-upload.mjs +9 -9
  89. package/dist/actions/create-file-upload.mjs.map +1 -1
  90. package/dist/actions/create-notion-page.cjs +41 -41
  91. package/dist/actions/create-notion-page.cjs.map +1 -1
  92. package/dist/actions/create-notion-page.d.cts +83 -3
  93. package/dist/actions/create-notion-page.d.cts.map +1 -1
  94. package/dist/actions/create-notion-page.d.mts +83 -3
  95. package/dist/actions/create-notion-page.d.mts.map +1 -1
  96. package/dist/actions/create-notion-page.mjs +41 -41
  97. package/dist/actions/create-notion-page.mjs.map +1 -1
  98. package/dist/actions/delete-block.cjs +84 -84
  99. package/dist/actions/delete-block.cjs.map +1 -1
  100. package/dist/actions/delete-block.d.cts +2181 -3
  101. package/dist/actions/delete-block.d.cts.map +1 -1
  102. package/dist/actions/delete-block.d.mts +2181 -3
  103. package/dist/actions/delete-block.d.mts.map +1 -1
  104. package/dist/actions/delete-block.mjs +84 -84
  105. package/dist/actions/delete-block.mjs.map +1 -1
  106. package/dist/actions/duplicate-page.cjs +49 -49
  107. package/dist/actions/duplicate-page.cjs.map +1 -1
  108. package/dist/actions/duplicate-page.d.cts +90 -3
  109. package/dist/actions/duplicate-page.d.cts.map +1 -1
  110. package/dist/actions/duplicate-page.d.mts +90 -3
  111. package/dist/actions/duplicate-page.d.mts.map +1 -1
  112. package/dist/actions/duplicate-page.mjs +49 -49
  113. package/dist/actions/duplicate-page.mjs.map +1 -1
  114. package/dist/actions/fetch-all-block-contents.cjs +91 -91
  115. package/dist/actions/fetch-all-block-contents.cjs.map +1 -1
  116. package/dist/actions/fetch-all-block-contents.d.cts +38 -3
  117. package/dist/actions/fetch-all-block-contents.d.cts.map +1 -1
  118. package/dist/actions/fetch-all-block-contents.d.mts +38 -3
  119. package/dist/actions/fetch-all-block-contents.d.mts.map +1 -1
  120. package/dist/actions/fetch-all-block-contents.mjs +91 -91
  121. package/dist/actions/fetch-all-block-contents.mjs.map +1 -1
  122. package/dist/actions/fetch-block-contents.cjs +97 -97
  123. package/dist/actions/fetch-block-contents.cjs.map +1 -1
  124. package/dist/actions/fetch-block-contents.d.cts +687 -3
  125. package/dist/actions/fetch-block-contents.d.cts.map +1 -1
  126. package/dist/actions/fetch-block-contents.d.mts +687 -3
  127. package/dist/actions/fetch-block-contents.d.mts.map +1 -1
  128. package/dist/actions/fetch-block-contents.mjs +97 -97
  129. package/dist/actions/fetch-block-contents.mjs.map +1 -1
  130. package/dist/actions/fetch-block-metadata.cjs +81 -81
  131. package/dist/actions/fetch-block-metadata.cjs.map +1 -1
  132. package/dist/actions/fetch-block-metadata.d.cts +2103 -3
  133. package/dist/actions/fetch-block-metadata.d.cts.map +1 -1
  134. package/dist/actions/fetch-block-metadata.d.mts +2103 -3
  135. package/dist/actions/fetch-block-metadata.d.mts.map +1 -1
  136. package/dist/actions/fetch-block-metadata.mjs +81 -81
  137. package/dist/actions/fetch-block-metadata.mjs.map +1 -1
  138. package/dist/actions/fetch-comments.cjs +55 -55
  139. package/dist/actions/fetch-comments.cjs.map +1 -1
  140. package/dist/actions/fetch-comments.d.cts +148 -3
  141. package/dist/actions/fetch-comments.d.cts.map +1 -1
  142. package/dist/actions/fetch-comments.d.mts +148 -3
  143. package/dist/actions/fetch-comments.d.mts.map +1 -1
  144. package/dist/actions/fetch-comments.mjs +55 -55
  145. package/dist/actions/fetch-comments.mjs.map +1 -1
  146. package/dist/actions/fetch-data.cjs +76 -76
  147. package/dist/actions/fetch-data.cjs.map +1 -1
  148. package/dist/actions/fetch-data.d.cts +594 -3
  149. package/dist/actions/fetch-data.d.cts.map +1 -1
  150. package/dist/actions/fetch-data.d.mts +594 -3
  151. package/dist/actions/fetch-data.d.mts.map +1 -1
  152. package/dist/actions/fetch-data.mjs +76 -76
  153. package/dist/actions/fetch-data.mjs.map +1 -1
  154. package/dist/actions/fetch-database.cjs +38 -38
  155. package/dist/actions/fetch-database.cjs.map +1 -1
  156. package/dist/actions/fetch-database.d.cts +89 -3
  157. package/dist/actions/fetch-database.d.cts.map +1 -1
  158. package/dist/actions/fetch-database.d.mts +89 -3
  159. package/dist/actions/fetch-database.d.mts.map +1 -1
  160. package/dist/actions/fetch-database.mjs +38 -38
  161. package/dist/actions/fetch-database.mjs.map +1 -1
  162. package/dist/actions/fetch-row.cjs +56 -56
  163. package/dist/actions/fetch-row.cjs.map +1 -1
  164. package/dist/actions/fetch-row.d.cts +151 -3
  165. package/dist/actions/fetch-row.d.cts.map +1 -1
  166. package/dist/actions/fetch-row.d.mts +151 -3
  167. package/dist/actions/fetch-row.d.mts.map +1 -1
  168. package/dist/actions/fetch-row.mjs +56 -56
  169. package/dist/actions/fetch-row.mjs.map +1 -1
  170. package/dist/actions/get-about-user.cjs +13 -13
  171. package/dist/actions/get-about-user.cjs.map +1 -1
  172. package/dist/actions/get-about-user.d.cts +44 -3
  173. package/dist/actions/get-about-user.d.cts.map +1 -1
  174. package/dist/actions/get-about-user.d.mts +44 -3
  175. package/dist/actions/get-about-user.d.mts.map +1 -1
  176. package/dist/actions/get-about-user.mjs +13 -13
  177. package/dist/actions/get-about-user.mjs.map +1 -1
  178. package/dist/actions/get-page-markdown.cjs +5 -5
  179. package/dist/actions/get-page-markdown.cjs.map +1 -1
  180. package/dist/actions/get-page-markdown.d.cts +15 -3
  181. package/dist/actions/get-page-markdown.d.cts.map +1 -1
  182. package/dist/actions/get-page-markdown.d.mts +15 -3
  183. package/dist/actions/get-page-markdown.d.mts.map +1 -1
  184. package/dist/actions/get-page-markdown.mjs +5 -5
  185. package/dist/actions/get-page-markdown.mjs.map +1 -1
  186. package/dist/actions/get-page-property-action.cjs.map +1 -1
  187. package/dist/actions/get-page-property-action.d.cts +13 -3
  188. package/dist/actions/get-page-property-action.d.cts.map +1 -1
  189. package/dist/actions/get-page-property-action.d.mts +13 -3
  190. package/dist/actions/get-page-property-action.d.mts.map +1 -1
  191. package/dist/actions/get-page-property-action.mjs.map +1 -1
  192. package/dist/actions/insert-row-database.cjs +50 -50
  193. package/dist/actions/insert-row-database.cjs.map +1 -1
  194. package/dist/actions/insert-row-database.d.cts +165 -3
  195. package/dist/actions/insert-row-database.d.cts.map +1 -1
  196. package/dist/actions/insert-row-database.d.mts +165 -3
  197. package/dist/actions/insert-row-database.d.mts.map +1 -1
  198. package/dist/actions/insert-row-database.mjs +50 -50
  199. package/dist/actions/insert-row-database.mjs.map +1 -1
  200. package/dist/actions/insert-row-from-nl.cjs +2 -2
  201. package/dist/actions/insert-row-from-nl.cjs.map +1 -1
  202. package/dist/actions/insert-row-from-nl.d.cts +19 -3
  203. package/dist/actions/insert-row-from-nl.d.cts.map +1 -1
  204. package/dist/actions/insert-row-from-nl.d.mts +19 -3
  205. package/dist/actions/insert-row-from-nl.d.mts.map +1 -1
  206. package/dist/actions/insert-row-from-nl.mjs +2 -2
  207. package/dist/actions/insert-row-from-nl.mjs.map +1 -1
  208. package/dist/actions/list-data-source-templates.cjs +6 -6
  209. package/dist/actions/list-data-source-templates.cjs.map +1 -1
  210. package/dist/actions/list-data-source-templates.d.cts +19 -3
  211. package/dist/actions/list-data-source-templates.d.cts.map +1 -1
  212. package/dist/actions/list-data-source-templates.d.mts +19 -3
  213. package/dist/actions/list-data-source-templates.d.mts.map +1 -1
  214. package/dist/actions/list-data-source-templates.mjs +6 -6
  215. package/dist/actions/list-data-source-templates.mjs.map +1 -1
  216. package/dist/actions/list-file-uploads.cjs +9 -9
  217. package/dist/actions/list-file-uploads.cjs.map +1 -1
  218. package/dist/actions/list-file-uploads.d.cts +32 -3
  219. package/dist/actions/list-file-uploads.d.cts.map +1 -1
  220. package/dist/actions/list-file-uploads.d.mts +32 -3
  221. package/dist/actions/list-file-uploads.d.mts.map +1 -1
  222. package/dist/actions/list-file-uploads.mjs +9 -9
  223. package/dist/actions/list-file-uploads.mjs.map +1 -1
  224. package/dist/actions/list-users.cjs +14 -14
  225. package/dist/actions/list-users.cjs.map +1 -1
  226. package/dist/actions/list-users.d.cts +58 -3
  227. package/dist/actions/list-users.d.cts.map +1 -1
  228. package/dist/actions/list-users.d.mts +58 -3
  229. package/dist/actions/list-users.d.mts.map +1 -1
  230. package/dist/actions/list-users.mjs +14 -14
  231. package/dist/actions/list-users.mjs.map +1 -1
  232. package/dist/actions/move-page.cjs +44 -44
  233. package/dist/actions/move-page.cjs.map +1 -1
  234. package/dist/actions/move-page.d.cts +92 -3
  235. package/dist/actions/move-page.d.cts.map +1 -1
  236. package/dist/actions/move-page.d.mts +92 -3
  237. package/dist/actions/move-page.d.mts.map +1 -1
  238. package/dist/actions/move-page.mjs +44 -44
  239. package/dist/actions/move-page.mjs.map +1 -1
  240. package/dist/actions/query-data-source.cjs +35 -35
  241. package/dist/actions/query-data-source.cjs.map +1 -1
  242. package/dist/actions/query-data-source.d.cts +161 -3
  243. package/dist/actions/query-data-source.d.cts.map +1 -1
  244. package/dist/actions/query-data-source.d.mts +161 -3
  245. package/dist/actions/query-data-source.d.mts.map +1 -1
  246. package/dist/actions/query-data-source.mjs +35 -35
  247. package/dist/actions/query-data-source.mjs.map +1 -1
  248. package/dist/actions/query-database-with-filter.cjs +73 -73
  249. package/dist/actions/query-database-with-filter.cjs.map +1 -1
  250. package/dist/actions/query-database-with-filter.d.cts +216 -3
  251. package/dist/actions/query-database-with-filter.d.cts.map +1 -1
  252. package/dist/actions/query-database-with-filter.d.mts +216 -3
  253. package/dist/actions/query-database-with-filter.d.mts.map +1 -1
  254. package/dist/actions/query-database-with-filter.mjs +73 -73
  255. package/dist/actions/query-database-with-filter.mjs.map +1 -1
  256. package/dist/actions/query-database.cjs +61 -61
  257. package/dist/actions/query-database.cjs.map +1 -1
  258. package/dist/actions/query-database.d.cts +209 -3
  259. package/dist/actions/query-database.d.cts.map +1 -1
  260. package/dist/actions/query-database.d.mts +209 -3
  261. package/dist/actions/query-database.d.mts.map +1 -1
  262. package/dist/actions/query-database.mjs +61 -61
  263. package/dist/actions/query-database.mjs.map +1 -1
  264. package/dist/actions/replace-page-content.cjs +133 -133
  265. package/dist/actions/replace-page-content.cjs.map +1 -1
  266. package/dist/actions/replace-page-content.d.cts +1836 -3
  267. package/dist/actions/replace-page-content.d.cts.map +1 -1
  268. package/dist/actions/replace-page-content.d.mts +1836 -3
  269. package/dist/actions/replace-page-content.d.mts.map +1 -1
  270. package/dist/actions/replace-page-content.mjs +133 -133
  271. package/dist/actions/replace-page-content.mjs.map +1 -1
  272. package/dist/actions/retrieve-comment.cjs.map +1 -1
  273. package/dist/actions/retrieve-comment.d.cts +7 -3
  274. package/dist/actions/retrieve-comment.d.cts.map +1 -1
  275. package/dist/actions/retrieve-comment.d.mts +7 -3
  276. package/dist/actions/retrieve-comment.d.mts.map +1 -1
  277. package/dist/actions/retrieve-comment.mjs.map +1 -1
  278. package/dist/actions/retrieve-database-property.cjs +42 -42
  279. package/dist/actions/retrieve-database-property.cjs.map +1 -1
  280. package/dist/actions/retrieve-database-property.d.cts +78 -3
  281. package/dist/actions/retrieve-database-property.d.cts.map +1 -1
  282. package/dist/actions/retrieve-database-property.d.mts +78 -3
  283. package/dist/actions/retrieve-database-property.d.mts.map +1 -1
  284. package/dist/actions/retrieve-database-property.mjs +42 -42
  285. package/dist/actions/retrieve-database-property.mjs.map +1 -1
  286. package/dist/actions/retrieve-file-upload.cjs +6 -6
  287. package/dist/actions/retrieve-file-upload.cjs.map +1 -1
  288. package/dist/actions/retrieve-file-upload.d.cts +25 -3
  289. package/dist/actions/retrieve-file-upload.d.cts.map +1 -1
  290. package/dist/actions/retrieve-file-upload.d.mts +25 -3
  291. package/dist/actions/retrieve-file-upload.d.mts.map +1 -1
  292. package/dist/actions/retrieve-file-upload.mjs +6 -6
  293. package/dist/actions/retrieve-file-upload.mjs.map +1 -1
  294. package/dist/actions/retrieve-page.cjs +55 -55
  295. package/dist/actions/retrieve-page.cjs.map +1 -1
  296. package/dist/actions/retrieve-page.d.cts +139 -3
  297. package/dist/actions/retrieve-page.d.cts.map +1 -1
  298. package/dist/actions/retrieve-page.d.mts +139 -3
  299. package/dist/actions/retrieve-page.d.mts.map +1 -1
  300. package/dist/actions/retrieve-page.mjs +55 -55
  301. package/dist/actions/retrieve-page.mjs.map +1 -1
  302. package/dist/actions/search-notion-page.cjs +82 -82
  303. package/dist/actions/search-notion-page.cjs.map +1 -1
  304. package/dist/actions/search-notion-page.d.cts +751 -3
  305. package/dist/actions/search-notion-page.d.cts.map +1 -1
  306. package/dist/actions/search-notion-page.d.mts +751 -3
  307. package/dist/actions/search-notion-page.d.mts.map +1 -1
  308. package/dist/actions/search-notion-page.mjs +82 -82
  309. package/dist/actions/search-notion-page.mjs.map +1 -1
  310. package/dist/actions/send-file-upload.cjs +8 -8
  311. package/dist/actions/send-file-upload.cjs.map +1 -1
  312. package/dist/actions/send-file-upload.d.cts +33 -3
  313. package/dist/actions/send-file-upload.d.cts.map +1 -1
  314. package/dist/actions/send-file-upload.d.mts +33 -3
  315. package/dist/actions/send-file-upload.d.mts.map +1 -1
  316. package/dist/actions/send-file-upload.mjs +8 -8
  317. package/dist/actions/send-file-upload.mjs.map +1 -1
  318. package/dist/actions/update-block.cjs +94 -94
  319. package/dist/actions/update-block.cjs.map +1 -1
  320. package/dist/actions/update-block.d.cts +564 -3
  321. package/dist/actions/update-block.d.cts.map +1 -1
  322. package/dist/actions/update-block.d.mts +564 -3
  323. package/dist/actions/update-block.d.mts.map +1 -1
  324. package/dist/actions/update-block.mjs +94 -94
  325. package/dist/actions/update-block.mjs.map +1 -1
  326. package/dist/actions/update-page.cjs +46 -46
  327. package/dist/actions/update-page.cjs.map +1 -1
  328. package/dist/actions/update-page.d.cts +103 -3
  329. package/dist/actions/update-page.d.cts.map +1 -1
  330. package/dist/actions/update-page.d.mts +103 -3
  331. package/dist/actions/update-page.d.mts.map +1 -1
  332. package/dist/actions/update-page.mjs +46 -46
  333. package/dist/actions/update-page.mjs.map +1 -1
  334. package/dist/actions/update-row-database.cjs +50 -50
  335. package/dist/actions/update-row-database.cjs.map +1 -1
  336. package/dist/actions/update-row-database.d.cts +127 -3
  337. package/dist/actions/update-row-database.d.cts.map +1 -1
  338. package/dist/actions/update-row-database.d.mts +127 -3
  339. package/dist/actions/update-row-database.d.mts.map +1 -1
  340. package/dist/actions/update-row-database.mjs +50 -50
  341. package/dist/actions/update-row-database.mjs.map +1 -1
  342. package/dist/actions/update-schema-database.cjs +59 -59
  343. package/dist/actions/update-schema-database.cjs.map +1 -1
  344. package/dist/actions/update-schema-database.d.cts +315 -3
  345. package/dist/actions/update-schema-database.d.cts.map +1 -1
  346. package/dist/actions/update-schema-database.d.mts +315 -3
  347. package/dist/actions/update-schema-database.d.mts.map +1 -1
  348. package/dist/actions/update-schema-database.mjs +59 -59
  349. package/dist/actions/update-schema-database.mjs.map +1 -1
  350. package/dist/actions/upsert-row-database.cjs +32 -32
  351. package/dist/actions/upsert-row-database.cjs.map +1 -1
  352. package/dist/actions/upsert-row-database.d.cts +242 -3
  353. package/dist/actions/upsert-row-database.d.cts.map +1 -1
  354. package/dist/actions/upsert-row-database.d.mts +242 -3
  355. package/dist/actions/upsert-row-database.d.mts.map +1 -1
  356. package/dist/actions/upsert-row-database.mjs +32 -32
  357. package/dist/actions/upsert-row-database.mjs.map +1 -1
  358. package/dist/execute.cjs +1 -1
  359. package/dist/execute.cjs.map +1 -1
  360. package/dist/execute.mjs +1 -1
  361. package/dist/execute.mjs.map +1 -1
  362. package/package.json +2 -2
@@ -5,72 +5,72 @@ const NotionQueryDatabaseInput = z.object({
5
5
  sorts: z.array(z.object({
6
6
  ascending: z.boolean().describe("Sort direction: True for ascending (A→Z, oldest→newest), False for descending (Z→A, newest→oldest)."),
7
7
  property_name: z.string().describe("The name of a database property/column to sort by, or a timestamp field. For database properties: Must match an EXISTING property name in the database EXACTLY (case-sensitive). For page timestamps: Use 'created_time' or 'last_edited_time' to sort by page creation/modification times. Common timestamp aliases are auto-detected (e.g., 'created time', 'creation time', '创建时间', 'last edited', etc.). IMPORTANT: If sorting by a database property (not a timestamp), the property name must exist in that specific database.")
8
- })).describe("List of sort rules to order the database query results. Each sort rule must specify: 'property_name' (name of database property or timestamp field) and 'ascending' (True/False). For database properties: names must match exactly (case-sensitive). For timestamps: use 'created_time' or 'last_edited_time' (case-insensitive). Multiple sorts are applied in the order specified.").optional(),
8
+ }).passthrough()).describe("List of sort rules to order the database query results. Each sort rule must specify: 'property_name' (name of database property or timestamp field) and 'ascending' (True/False). For database properties: names must match exactly (case-sensitive). For timestamps: use 'created_time' or 'last_edited_time' (case-insensitive). Multiple sorts are applied in the order specified.").optional(),
9
9
  page_size: z.number().int().default(100).describe("Number of items (database rows/pages) to return per request. Valid range: 1-100. Default is 100. The API may return fewer items than requested if that's all that's available.").optional(),
10
10
  database_id: z.string().describe("The UUID of the Notion DATABASE to query (32-character hex string, optionally with hyphens). Query parameters (e.g., ?v=viewid) from Notion URLs are automatically stripped. IMPORTANT: This must be a DATABASE ID, not a page ID. Pages and databases are different object types in Notion. A database is a collection/table that contains pages as rows. If you have a page ID, you cannot use it here. How to obtain a database ID: Use NOTION_SEARCH_NOTION_PAGE with filter_value='database' to list accessible databases, or find it in the Notion URL of a database view (the 32-char ID after the workspace name). Common error: If you receive 'validation_error' with message 'Provided ID is a page, not a database', you have passed a page ID instead of a database ID. Format: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx or xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"),
11
11
  start_cursor: z.string().describe("A pagination cursor for fetching the next page of results. Must be a valid UUID string (format: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx) obtained from the 'next_cursor' field of a previous query response. Do not use placeholder values. If omitted, returns the first page.").optional()
12
12
  });
13
13
  const NotionQueryDatabase_EmojiIconSchema = z.object({
14
- type: z.string().describe("Always 'emoji'."),
15
- emoji: z.string().describe("The emoji character.")
16
- });
14
+ type: z.string().describe("Always 'emoji'.").nullable(),
15
+ emoji: z.string().describe("The emoji character.").nullable()
16
+ }).passthrough();
17
17
  const NotionQueryDatabase_CustomEmojiDetailsSchema = z.object({
18
- id: z.string().describe("Unique identifier for the custom emoji."),
19
- url: z.string().describe("S3-hosted URL to the emoji image."),
20
- name: z.string().describe("Display name of the custom emoji.")
21
- });
18
+ id: z.string().describe("Unique identifier for the custom emoji.").nullable(),
19
+ url: z.string().describe("S3-hosted URL to the emoji image.").nullable(),
20
+ name: z.string().describe("Display name of the custom emoji.").nullable()
21
+ }).passthrough();
22
22
  const NotionQueryDatabase_CustomEmojiIconSchema = z.object({
23
- type: z.string().describe("Always 'custom_emoji'."),
23
+ type: z.string().describe("Always 'custom_emoji'.").nullable(),
24
24
  custom_emoji: NotionQueryDatabase_CustomEmojiDetailsSchema.nullable()
25
- });
26
- const NotionQueryDatabase_ExternalFileDetailsSchema = z.object({ url: z.string().describe("Link to the externally hosted content.") });
25
+ }).passthrough();
26
+ const NotionQueryDatabase_ExternalFileDetailsSchema = z.object({ url: z.string().describe("Link to the externally hosted content.").nullable() }).passthrough();
27
27
  const NotionQueryDatabase_ExternalIconSchema = z.object({
28
- type: z.string().describe("Always 'external'."),
28
+ type: z.string().describe("Always 'external'.").nullable(),
29
29
  external: NotionQueryDatabase_ExternalFileDetailsSchema.nullable()
30
- });
30
+ }).passthrough();
31
31
  const NotionQueryDatabase_NotionHostedFileDetailsSchema = z.object({
32
- url: z.string().describe("Authenticated HTTP GET URL to the file, valid for one hour."),
33
- expiry_time: z.string().describe("ISO 8601 timestamp when the URL expires.")
34
- });
32
+ url: z.string().describe("Authenticated HTTP GET URL to the file, valid for one hour.").nullable(),
33
+ expiry_time: z.string().describe("ISO 8601 timestamp when the URL expires.").nullable()
34
+ }).passthrough();
35
35
  const NotionQueryDatabase_NotionHostedFileIconSchema = z.object({
36
36
  file: NotionQueryDatabase_NotionHostedFileDetailsSchema.nullable(),
37
- type: z.string().describe("Always 'file'.")
38
- });
37
+ type: z.string().describe("Always 'file'.").nullable()
38
+ }).passthrough();
39
39
  const NotionQueryDatabase_ExternalCoverSchema = z.object({
40
- type: z.string().describe("Always 'external'."),
40
+ type: z.string().describe("Always 'external'.").nullable(),
41
41
  external: NotionQueryDatabase_ExternalFileDetailsSchema.nullable()
42
- });
42
+ }).passthrough();
43
43
  const NotionQueryDatabase_NotionHostedFileCoverSchema = z.object({
44
44
  file: NotionQueryDatabase_NotionHostedFileDetailsSchema.nullable(),
45
- type: z.string().describe("Always 'file'.")
46
- });
45
+ type: z.string().describe("Always 'file'.").nullable()
46
+ }).passthrough();
47
47
  const NotionQueryDatabase_DatabaseParentSchema = z.object({
48
- type: z.string().describe("Always 'database_id'."),
49
- database_id: z.string().describe("UUID of the parent database.")
50
- });
48
+ type: z.string().describe("Always 'database_id'.").nullable(),
49
+ database_id: z.string().describe("UUID of the parent database.").nullable()
50
+ }).passthrough();
51
51
  const NotionQueryDatabase_DataSourceParentSchema = z.object({
52
- type: z.string().describe("Always 'data_source_id'."),
53
- database_id: z.string().describe("UUID of the parent database for convenience."),
54
- data_source_id: z.string().describe("UUID of the parent data source.")
55
- });
52
+ type: z.string().describe("Always 'data_source_id'.").nullable(),
53
+ database_id: z.string().describe("UUID of the parent database for convenience.").nullable(),
54
+ data_source_id: z.string().describe("UUID of the parent data source.").nullable()
55
+ }).passthrough();
56
56
  const NotionQueryDatabase_PageParentSchema = z.object({
57
- type: z.string().describe("Always 'page_id'."),
58
- page_id: z.string().describe("UUID of the parent page.")
59
- });
57
+ type: z.string().describe("Always 'page_id'.").nullable(),
58
+ page_id: z.string().describe("UUID of the parent page.").nullable()
59
+ }).passthrough();
60
60
  const NotionQueryDatabase_BlockParentSchema = z.object({
61
- type: z.string().describe("Always 'block_id'."),
62
- block_id: z.string().describe("UUID of the parent block.")
63
- });
61
+ type: z.string().describe("Always 'block_id'.").nullable(),
62
+ block_id: z.string().describe("UUID of the parent block.").nullable()
63
+ }).passthrough();
64
64
  const NotionQueryDatabase_WorkspaceParentSchema = z.object({
65
- type: z.string().describe("Always 'workspace'."),
66
- workspace: z.boolean().describe("Always true for workspace-level pages.")
67
- });
65
+ type: z.string().describe("Always 'workspace'.").nullable(),
66
+ workspace: z.boolean().describe("Always true for workspace-level pages.").nullable()
67
+ }).passthrough();
68
68
  const NotionQueryDatabase_PartialUserSchema = z.object({
69
- id: z.string().describe("Unique identifier for the user."),
70
- object: z.string().describe("Always 'user'.")
71
- });
69
+ id: z.string().describe("Unique identifier for the user.").nullable(),
70
+ object: z.string().describe("Always 'user'.").nullable()
71
+ }).passthrough();
72
72
  const NotionQueryDatabase_PageObjectSchema = z.object({
73
- id: z.string().describe("Unique identifier for the page (UUIDv4 format)."),
73
+ id: z.string().describe("Unique identifier for the page (UUIDv4 format).").nullable(),
74
74
  url: z.string().describe("The Notion URL of the page.").nullable().optional(),
75
75
  icon: z.union([
76
76
  NotionQueryDatabase_EmojiIconSchema,
@@ -79,7 +79,7 @@ const NotionQueryDatabase_PageObjectSchema = z.object({
79
79
  NotionQueryDatabase_NotionHostedFileIconSchema
80
80
  ]).nullable().optional(),
81
81
  cover: z.union([NotionQueryDatabase_ExternalCoverSchema, NotionQueryDatabase_NotionHostedFileCoverSchema]).nullable().optional(),
82
- object: z.string().describe("Always 'page' for page objects."),
82
+ object: z.string().describe("Always 'page' for page objects.").nullable(),
83
83
  parent: z.union([
84
84
  NotionQueryDatabase_DatabaseParentSchema,
85
85
  NotionQueryDatabase_DataSourceParentSchema,
@@ -91,20 +91,20 @@ const NotionQueryDatabase_PageObjectSchema = z.object({
91
91
  in_trash: z.boolean().describe("Whether the page is in trash.").nullable().optional(),
92
92
  is_locked: z.boolean().describe("Whether the page is locked for editing.").nullable().optional(),
93
93
  created_by: NotionQueryDatabase_PartialUserSchema.nullable().optional(),
94
- properties: z.object({}).describe("Property values of the page, conforming to the parent database schema. Keys are property names (case-sensitive). Each value is a property object with id, type, and type-specific value fields.").nullable().optional(),
94
+ properties: z.record(z.string(), z.unknown()).describe("Property values of the page, conforming to the parent database schema. Keys are property names (case-sensitive). Each value is a property object with id, type, and type-specific value fields.").nullable().optional(),
95
95
  public_url: z.string().describe("The public URL of the page if it has been published to the web, otherwise null.").nullable().optional(),
96
96
  created_time: z.string().describe("ISO 8601 timestamp of when the page was created.").nullable().optional(),
97
97
  last_edited_by: NotionQueryDatabase_PartialUserSchema.nullable().optional(),
98
98
  last_edited_time: z.string().describe("ISO 8601 timestamp of the most recent modification.").nullable().optional()
99
- });
99
+ }).passthrough();
100
100
  const NotionQueryDatabase_RichTextAnnotationsSchema = z.object({
101
- bold: z.boolean().describe("Whether the text is bold."),
102
- code: z.boolean().describe("Whether the text is code."),
103
- color: z.string().describe("Text color."),
104
- italic: z.boolean().describe("Whether the text is italic."),
105
- underline: z.boolean().describe("Whether the text is underlined."),
106
- strikethrough: z.boolean().describe("Whether the text has strikethrough.")
107
- });
101
+ bold: z.boolean().describe("Whether the text is bold.").nullable(),
102
+ code: z.boolean().describe("Whether the text is code.").nullable(),
103
+ color: z.string().describe("Text color.").nullable(),
104
+ italic: z.boolean().describe("Whether the text is italic.").nullable(),
105
+ underline: z.boolean().describe("Whether the text is underlined.").nullable(),
106
+ strikethrough: z.boolean().describe("Whether the text has strikethrough.").nullable()
107
+ }).passthrough();
108
108
  const NotionQueryDatabase_RichTextObjectSchema = z.object({
109
109
  href: z.string().describe("Link URL if any.").nullable().optional(),
110
110
  text: z.record(z.string(), z.unknown()).describe("Text-specific content when type is 'text'.").nullable().optional(),
@@ -112,14 +112,14 @@ const NotionQueryDatabase_RichTextObjectSchema = z.object({
112
112
  "text",
113
113
  "mention",
114
114
  "equation"
115
- ]).describe("Type of rich text object."),
115
+ ]).describe("Type of rich text object.").nullable(),
116
116
  mention: z.record(z.string(), z.unknown()).describe("Mention-specific content when type is 'mention'.").nullable().optional(),
117
- equation: z.object({}).describe("Equation-specific content when type is 'equation'.").nullable().optional(),
118
- plain_text: z.string().describe("Plain text content without formatting."),
117
+ equation: z.record(z.string(), z.unknown()).describe("Equation-specific content when type is 'equation'.").nullable().optional(),
118
+ plain_text: z.string().describe("Plain text content without formatting.").nullable(),
119
119
  annotations: NotionQueryDatabase_RichTextAnnotationsSchema.nullable()
120
- });
120
+ }).passthrough();
121
121
  const NotionQueryDatabase_DatabaseObjectSchema = z.object({
122
- id: z.string().describe("Unique identifier for the database (UUIDv4 format)."),
122
+ id: z.string().describe("Unique identifier for the database (UUIDv4 format).").nullable(),
123
123
  url: z.string().describe("The Notion URL of the database.").nullable().optional(),
124
124
  icon: z.union([
125
125
  NotionQueryDatabase_EmojiIconSchema,
@@ -129,7 +129,7 @@ const NotionQueryDatabase_DatabaseObjectSchema = z.object({
129
129
  ]).nullable().optional(),
130
130
  cover: z.union([NotionQueryDatabase_ExternalCoverSchema, NotionQueryDatabase_NotionHostedFileCoverSchema]).nullable().optional(),
131
131
  title: z.array(NotionQueryDatabase_RichTextObjectSchema).describe("Database title as rich text array.").nullable().optional(),
132
- object: z.string().describe("Always 'database' for database objects."),
132
+ object: z.string().describe("Always 'database' for database objects.").nullable(),
133
133
  parent: z.union([
134
134
  NotionQueryDatabase_DatabaseParentSchema,
135
135
  NotionQueryDatabase_DataSourceParentSchema,
@@ -141,13 +141,13 @@ const NotionQueryDatabase_DatabaseObjectSchema = z.object({
141
141
  in_trash: z.boolean().describe("Whether the database is in trash.").nullable().optional(),
142
142
  is_inline: z.boolean().describe("Whether the database is inline.").nullable().optional(),
143
143
  created_by: NotionQueryDatabase_PartialUserSchema.nullable().optional(),
144
- properties: z.object({}).describe("Property schema definitions of the database. Keys are property names (case-sensitive). Each value is a property schema object with id, type, name, and type-specific configuration fields.").nullable().optional(),
144
+ properties: z.record(z.string(), z.unknown()).describe("Property schema definitions of the database. Keys are property names (case-sensitive). Each value is a property schema object with id, type, name, and type-specific configuration fields.").nullable().optional(),
145
145
  public_url: z.string().describe("The public URL of the database if it has been published to the web, otherwise null.").nullable().optional(),
146
146
  description: z.array(NotionQueryDatabase_RichTextObjectSchema).describe("Database description as rich text array.").nullable().optional(),
147
147
  created_time: z.string().describe("ISO 8601 timestamp when database was created.").nullable().optional(),
148
148
  last_edited_by: NotionQueryDatabase_PartialUserSchema.nullable().optional(),
149
149
  last_edited_time: z.string().describe("ISO 8601 timestamp of the most recent modification.").nullable().optional()
150
- });
150
+ }).passthrough();
151
151
  const notionQueryDatabase = action("NOTION_QUERY_DATABASE", {
152
152
  slug: "notion-query-database",
153
153
  name: "Query database",
@@ -162,7 +162,7 @@ const notionQueryDatabase = action("NOTION_QUERY_DATABASE", {
162
162
  next_cursor: z.string().describe("Pagination cursor for retrieving the next page of results. Null if there are no more results.").nullable().optional(),
163
163
  page_or_database: z.record(z.string(), z.unknown()).describe("Optional union container present when type is 'page_or_database'. Typically an empty object.").nullable().optional(),
164
164
  composio_execution_message: z.string().describe("Internal message about input transformations or important execution notes.").nullable().optional()
165
- })
165
+ }).passthrough()
166
166
  });
167
167
  //#endregion
168
168
  export { notionQueryDatabase };
@@ -1 +1 @@
1
- {"version":3,"file":"query-database.mjs","names":[],"sources":["../../src/actions/query-database.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NotionQueryDatabaseInput: z.ZodTypeAny = z.object({\n sorts: z.array(z.object({\n ascending: z.boolean().describe(\"Sort direction: True for ascending (A→Z, oldest→newest), False for descending (Z→A, newest→oldest).\"),\n property_name: z.string().describe(\"The name of a database property/column to sort by, or a timestamp field. For database properties: Must match an EXISTING property name in the database EXACTLY (case-sensitive). For page timestamps: Use 'created_time' or 'last_edited_time' to sort by page creation/modification times. Common timestamp aliases are auto-detected (e.g., 'created time', 'creation time', '创建时间', 'last edited', etc.). IMPORTANT: If sorting by a database property (not a timestamp), the property name must exist in that specific database.\"),\n})).describe(\"List of sort rules to order the database query results. Each sort rule must specify: 'property_name' (name of database property or timestamp field) and 'ascending' (True/False). For database properties: names must match exactly (case-sensitive). For timestamps: use 'created_time' or 'last_edited_time' (case-insensitive). Multiple sorts are applied in the order specified.\").optional(),\n page_size: z.number().int().default(100).describe(\"Number of items (database rows/pages) to return per request. Valid range: 1-100. Default is 100. The API may return fewer items than requested if that's all that's available.\").optional(),\n database_id: z.string().describe(\"The UUID of the Notion DATABASE to query (32-character hex string, optionally with hyphens). Query parameters (e.g., ?v=viewid) from Notion URLs are automatically stripped. IMPORTANT: This must be a DATABASE ID, not a page ID. Pages and databases are different object types in Notion. A database is a collection/table that contains pages as rows. If you have a page ID, you cannot use it here. How to obtain a database ID: Use NOTION_SEARCH_NOTION_PAGE with filter_value='database' to list accessible databases, or find it in the Notion URL of a database view (the 32-char ID after the workspace name). Common error: If you receive 'validation_error' with message 'Provided ID is a page, not a database', you have passed a page ID instead of a database ID. Format: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx or xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\"),\n start_cursor: z.string().describe(\"A pagination cursor for fetching the next page of results. Must be a valid UUID string (format: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx) obtained from the 'next_cursor' field of a previous query response. Do not use placeholder values. If omitted, returns the first page.\").optional(),\n});\nconst NotionQueryDatabase_EmojiIconSchema: z.ZodTypeAny = z.object({\n type: z.string().describe(\"Always 'emoji'.\"),\n emoji: z.string().describe(\"The emoji character.\"),\n});\nconst NotionQueryDatabase_CustomEmojiDetailsSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier for the custom emoji.\"),\n url: z.string().describe(\"S3-hosted URL to the emoji image.\"),\n name: z.string().describe(\"Display name of the custom emoji.\"),\n});\nconst NotionQueryDatabase_CustomEmojiIconSchema: z.ZodTypeAny = z.object({\n type: z.string().describe(\"Always 'custom_emoji'.\"),\n custom_emoji: NotionQueryDatabase_CustomEmojiDetailsSchema.nullable(),\n});\nconst NotionQueryDatabase_ExternalFileDetailsSchema: z.ZodTypeAny = z.object({\n url: z.string().describe(\"Link to the externally hosted content.\"),\n});\nconst NotionQueryDatabase_ExternalIconSchema: z.ZodTypeAny = z.object({\n type: z.string().describe(\"Always 'external'.\"),\n external: NotionQueryDatabase_ExternalFileDetailsSchema.nullable(),\n});\nconst NotionQueryDatabase_NotionHostedFileDetailsSchema: z.ZodTypeAny = z.object({\n url: z.string().describe(\"Authenticated HTTP GET URL to the file, valid for one hour.\"),\n expiry_time: z.string().describe(\"ISO 8601 timestamp when the URL expires.\"),\n});\nconst NotionQueryDatabase_NotionHostedFileIconSchema: z.ZodTypeAny = z.object({\n file: NotionQueryDatabase_NotionHostedFileDetailsSchema.nullable(),\n type: z.string().describe(\"Always 'file'.\"),\n});\nconst NotionQueryDatabase_ExternalCoverSchema: z.ZodTypeAny = z.object({\n type: z.string().describe(\"Always 'external'.\"),\n external: NotionQueryDatabase_ExternalFileDetailsSchema.nullable(),\n});\nconst NotionQueryDatabase_NotionHostedFileCoverSchema: z.ZodTypeAny = z.object({\n file: NotionQueryDatabase_NotionHostedFileDetailsSchema.nullable(),\n type: z.string().describe(\"Always 'file'.\"),\n});\nconst NotionQueryDatabase_DatabaseParentSchema: z.ZodTypeAny = z.object({\n type: z.string().describe(\"Always 'database_id'.\"),\n database_id: z.string().describe(\"UUID of the parent database.\"),\n});\nconst NotionQueryDatabase_DataSourceParentSchema: z.ZodTypeAny = z.object({\n type: z.string().describe(\"Always 'data_source_id'.\"),\n database_id: z.string().describe(\"UUID of the parent database for convenience.\"),\n data_source_id: z.string().describe(\"UUID of the parent data source.\"),\n});\nconst NotionQueryDatabase_PageParentSchema: z.ZodTypeAny = z.object({\n type: z.string().describe(\"Always 'page_id'.\"),\n page_id: z.string().describe(\"UUID of the parent page.\"),\n});\nconst NotionQueryDatabase_BlockParentSchema: z.ZodTypeAny = z.object({\n type: z.string().describe(\"Always 'block_id'.\"),\n block_id: z.string().describe(\"UUID of the parent block.\"),\n});\nconst NotionQueryDatabase_WorkspaceParentSchema: z.ZodTypeAny = z.object({\n type: z.string().describe(\"Always 'workspace'.\"),\n workspace: z.boolean().describe(\"Always true for workspace-level pages.\"),\n});\nconst NotionQueryDatabase_PartialUserSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier for the user.\"),\n object: z.string().describe(\"Always 'user'.\"),\n});\nconst NotionQueryDatabase_PageObjectSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier for the page (UUIDv4 format).\"),\n url: z.string().describe(\"The Notion URL of the page.\").nullable().optional(),\n icon: z.union([NotionQueryDatabase_EmojiIconSchema, NotionQueryDatabase_CustomEmojiIconSchema, NotionQueryDatabase_ExternalIconSchema, NotionQueryDatabase_NotionHostedFileIconSchema]).nullable().optional(),\n cover: z.union([NotionQueryDatabase_ExternalCoverSchema, NotionQueryDatabase_NotionHostedFileCoverSchema]).nullable().optional(),\n object: z.string().describe(\"Always 'page' for page objects.\"),\n parent: z.union([NotionQueryDatabase_DatabaseParentSchema, NotionQueryDatabase_DataSourceParentSchema, NotionQueryDatabase_PageParentSchema, NotionQueryDatabase_BlockParentSchema, NotionQueryDatabase_WorkspaceParentSchema]).nullable().optional(),\n archived: z.boolean().describe(\"Whether the page is archived.\").nullable().optional(),\n in_trash: z.boolean().describe(\"Whether the page is in trash.\").nullable().optional(),\n is_locked: z.boolean().describe(\"Whether the page is locked for editing.\").nullable().optional(),\n created_by: NotionQueryDatabase_PartialUserSchema.nullable().optional(),\n properties: z.object({}).describe(\"Property values of the page, conforming to the parent database schema. Keys are property names (case-sensitive). Each value is a property object with id, type, and type-specific value fields.\").nullable().optional(),\n public_url: z.string().describe(\"The public URL of the page if it has been published to the web, otherwise null.\").nullable().optional(),\n created_time: z.string().describe(\"ISO 8601 timestamp of when the page was created.\").nullable().optional(),\n last_edited_by: NotionQueryDatabase_PartialUserSchema.nullable().optional(),\n last_edited_time: z.string().describe(\"ISO 8601 timestamp of the most recent modification.\").nullable().optional(),\n});\nconst NotionQueryDatabase_RichTextAnnotationsSchema: z.ZodTypeAny = z.object({\n bold: z.boolean().describe(\"Whether the text is bold.\"),\n code: z.boolean().describe(\"Whether the text is code.\"),\n color: z.string().describe(\"Text color.\"),\n italic: z.boolean().describe(\"Whether the text is italic.\"),\n underline: z.boolean().describe(\"Whether the text is underlined.\"),\n strikethrough: z.boolean().describe(\"Whether the text has strikethrough.\"),\n});\nconst NotionQueryDatabase_RichTextObjectSchema: z.ZodTypeAny = z.object({\n href: z.string().describe(\"Link URL if any.\").nullable().optional(),\n text: z.record(z.string(), z.unknown()).describe(\"Text-specific content when type is 'text'.\").nullable().optional(),\n type: z.enum([\"text\", \"mention\", \"equation\"]).describe(\"Type of rich text object.\"),\n mention: z.record(z.string(), z.unknown()).describe(\"Mention-specific content when type is 'mention'.\").nullable().optional(),\n equation: z.object({}).describe(\"Equation-specific content when type is 'equation'.\").nullable().optional(),\n plain_text: z.string().describe(\"Plain text content without formatting.\"),\n annotations: NotionQueryDatabase_RichTextAnnotationsSchema.nullable(),\n});\nconst NotionQueryDatabase_DatabaseObjectSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier for the database (UUIDv4 format).\"),\n url: z.string().describe(\"The Notion URL of the database.\").nullable().optional(),\n icon: z.union([NotionQueryDatabase_EmojiIconSchema, NotionQueryDatabase_CustomEmojiIconSchema, NotionQueryDatabase_ExternalIconSchema, NotionQueryDatabase_NotionHostedFileIconSchema]).nullable().optional(),\n cover: z.union([NotionQueryDatabase_ExternalCoverSchema, NotionQueryDatabase_NotionHostedFileCoverSchema]).nullable().optional(),\n title: z.array(NotionQueryDatabase_RichTextObjectSchema).describe(\"Database title as rich text array.\").nullable().optional(),\n object: z.string().describe(\"Always 'database' for database objects.\"),\n parent: z.union([NotionQueryDatabase_DatabaseParentSchema, NotionQueryDatabase_DataSourceParentSchema, NotionQueryDatabase_PageParentSchema, NotionQueryDatabase_BlockParentSchema, NotionQueryDatabase_WorkspaceParentSchema]).nullable().optional(),\n archived: z.boolean().describe(\"Whether the database is archived.\").nullable().optional(),\n in_trash: z.boolean().describe(\"Whether the database is in trash.\").nullable().optional(),\n is_inline: z.boolean().describe(\"Whether the database is inline.\").nullable().optional(),\n created_by: NotionQueryDatabase_PartialUserSchema.nullable().optional(),\n properties: z.object({}).describe(\"Property schema definitions of the database. Keys are property names (case-sensitive). Each value is a property schema object with id, type, name, and type-specific configuration fields.\").nullable().optional(),\n public_url: z.string().describe(\"The public URL of the database if it has been published to the web, otherwise null.\").nullable().optional(),\n description: z.array(NotionQueryDatabase_RichTextObjectSchema).describe(\"Database description as rich text array.\").nullable().optional(),\n created_time: z.string().describe(\"ISO 8601 timestamp when database was created.\").nullable().optional(),\n last_edited_by: NotionQueryDatabase_PartialUserSchema.nullable().optional(),\n last_edited_time: z.string().describe(\"ISO 8601 timestamp of the most recent modification.\").nullable().optional(),\n});\nexport const NotionQueryDatabaseOutput: z.ZodTypeAny = z.object({\n type: z.string().describe(\"The type of items in the results array, typically 'page_or_database'.\").nullable().optional(),\n object: z.string().describe(\"Always 'list' for paginated responses.\").nullable().optional(),\n results: z.array(z.union([NotionQueryDatabase_PageObjectSchema, NotionQueryDatabase_DatabaseObjectSchema])).describe(\"Array of Page and/or Database objects matching the query criteria.\").nullable().optional(),\n has_more: z.boolean().describe(\"Whether there are more results available beyond the current page.\").nullable().optional(),\n request_id: z.string().describe(\"Unique identifier for tracking the API request.\").nullable().optional(),\n next_cursor: z.string().describe(\"Pagination cursor for retrieving the next page of results. Null if there are no more results.\").nullable().optional(),\n page_or_database: z.record(z.string(), z.unknown()).describe(\"Optional union container present when type is 'page_or_database'. Typically an empty object.\").nullable().optional(),\n composio_execution_message: z.string().describe(\"Internal message about input transformations or important execution notes.\").nullable().optional(),\n});\n\nexport const notionQueryDatabase = action(\"NOTION_QUERY_DATABASE\", {\n slug: \"notion-query-database\",\n name: \"Query database\",\n description: \"Queries a Notion database to retrieve pages (rows). In Notion, databases are collections where each row is a page and columns are properties. Returns paginated results with metadata. Important requirements: - The database must be shared with your integration - Property names in sorts must match existing database properties exactly (case-sensitive) - For timestamp sorting, use 'created_time' or 'last_edited_time' (case-insensitive) - The start_cursor must be a valid UUID from a previous response's next_cursor field - Database IDs must be valid 32-character UUIDs (with or without hyphens) Use this action to: - Retrieve all or filtered database entries - Sort results by database properties or page timestamps - Paginate through large result sets - Get database content for processing or display\",\n input: NotionQueryDatabaseInput,\n output: NotionQueryDatabaseOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAAyC,EAAE,OAAO;CAC7D,OAAO,EAAE,MAAM,EAAE,OAAO;EACxB,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,qGAAqG;EACrI,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,sgBAAsgB;CAC3iB,CAAC,CAAC,CAAC,CAAC,SAAS,uXAAuX,CAAC,CAAC,SAAS;CAC7Y,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,GAAG,CAAC,CAAC,SAAS,gLAAgL,CAAC,CAAC,SAAS;CAC7O,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,u0BAAu0B;CACx2B,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,8QAA8Q,CAAC,CAAC,SAAS;AAC7T,CAAC;AACD,MAAM,sCAAoD,EAAE,OAAO;CACjE,MAAM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,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/M,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxH,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,+FAA+F,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtJ,kBAAkB,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,8FAA8F,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjL,4BAA4B,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpJ,CAOU;AACV,CAAC"}
1
+ {"version":3,"file":"query-database.mjs","names":[],"sources":["../../src/actions/query-database.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NotionQueryDatabaseInput = z.object({\n sorts: z.array(z.object({\n ascending: z.boolean().describe(\"Sort direction: True for ascending (A→Z, oldest→newest), False for descending (Z→A, newest→oldest).\"),\n property_name: z.string().describe(\"The name of a database property/column to sort by, or a timestamp field. For database properties: Must match an EXISTING property name in the database EXACTLY (case-sensitive). For page timestamps: Use 'created_time' or 'last_edited_time' to sort by page creation/modification times. Common timestamp aliases are auto-detected (e.g., 'created time', 'creation time', '创建时间', 'last edited', etc.). IMPORTANT: If sorting by a database property (not a timestamp), the property name must exist in that specific database.\"),\n}).passthrough()).describe(\"List of sort rules to order the database query results. Each sort rule must specify: 'property_name' (name of database property or timestamp field) and 'ascending' (True/False). For database properties: names must match exactly (case-sensitive). For timestamps: use 'created_time' or 'last_edited_time' (case-insensitive). Multiple sorts are applied in the order specified.\").optional(),\n page_size: z.number().int().default(100).describe(\"Number of items (database rows/pages) to return per request. Valid range: 1-100. Default is 100. The API may return fewer items than requested if that's all that's available.\").optional(),\n database_id: z.string().describe(\"The UUID of the Notion DATABASE to query (32-character hex string, optionally with hyphens). Query parameters (e.g., ?v=viewid) from Notion URLs are automatically stripped. IMPORTANT: This must be a DATABASE ID, not a page ID. Pages and databases are different object types in Notion. A database is a collection/table that contains pages as rows. If you have a page ID, you cannot use it here. How to obtain a database ID: Use NOTION_SEARCH_NOTION_PAGE with filter_value='database' to list accessible databases, or find it in the Notion URL of a database view (the 32-char ID after the workspace name). Common error: If you receive 'validation_error' with message 'Provided ID is a page, not a database', you have passed a page ID instead of a database ID. Format: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx or xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\"),\n start_cursor: z.string().describe(\"A pagination cursor for fetching the next page of results. Must be a valid UUID string (format: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx) obtained from the 'next_cursor' field of a previous query response. Do not use placeholder values. If omitted, returns the first page.\").optional(),\n});\nconst NotionQueryDatabase_EmojiIconSchema = z.object({\n type: z.string().describe(\"Always 'emoji'.\").nullable(),\n emoji: z.string().describe(\"The emoji character.\").nullable(),\n}).passthrough();\nconst NotionQueryDatabase_CustomEmojiDetailsSchema = z.object({\n id: z.string().describe(\"Unique identifier for the custom emoji.\").nullable(),\n url: z.string().describe(\"S3-hosted URL to the emoji image.\").nullable(),\n name: z.string().describe(\"Display name of the custom emoji.\").nullable(),\n}).passthrough();\nconst NotionQueryDatabase_CustomEmojiIconSchema = z.object({\n type: z.string().describe(\"Always 'custom_emoji'.\").nullable(),\n custom_emoji: NotionQueryDatabase_CustomEmojiDetailsSchema.nullable(),\n}).passthrough();\nconst NotionQueryDatabase_ExternalFileDetailsSchema = z.object({\n url: z.string().describe(\"Link to the externally hosted content.\").nullable(),\n}).passthrough();\nconst NotionQueryDatabase_ExternalIconSchema = z.object({\n type: z.string().describe(\"Always 'external'.\").nullable(),\n external: NotionQueryDatabase_ExternalFileDetailsSchema.nullable(),\n}).passthrough();\nconst NotionQueryDatabase_NotionHostedFileDetailsSchema = z.object({\n url: z.string().describe(\"Authenticated HTTP GET URL to the file, valid for one hour.\").nullable(),\n expiry_time: z.string().describe(\"ISO 8601 timestamp when the URL expires.\").nullable(),\n}).passthrough();\nconst NotionQueryDatabase_NotionHostedFileIconSchema = z.object({\n file: NotionQueryDatabase_NotionHostedFileDetailsSchema.nullable(),\n type: z.string().describe(\"Always 'file'.\").nullable(),\n}).passthrough();\nconst NotionQueryDatabase_ExternalCoverSchema = z.object({\n type: z.string().describe(\"Always 'external'.\").nullable(),\n external: NotionQueryDatabase_ExternalFileDetailsSchema.nullable(),\n}).passthrough();\nconst NotionQueryDatabase_NotionHostedFileCoverSchema = z.object({\n file: NotionQueryDatabase_NotionHostedFileDetailsSchema.nullable(),\n type: z.string().describe(\"Always 'file'.\").nullable(),\n}).passthrough();\nconst NotionQueryDatabase_DatabaseParentSchema = z.object({\n type: z.string().describe(\"Always 'database_id'.\").nullable(),\n database_id: z.string().describe(\"UUID of the parent database.\").nullable(),\n}).passthrough();\nconst NotionQueryDatabase_DataSourceParentSchema = z.object({\n type: z.string().describe(\"Always 'data_source_id'.\").nullable(),\n database_id: z.string().describe(\"UUID of the parent database for convenience.\").nullable(),\n data_source_id: z.string().describe(\"UUID of the parent data source.\").nullable(),\n}).passthrough();\nconst NotionQueryDatabase_PageParentSchema = z.object({\n type: z.string().describe(\"Always 'page_id'.\").nullable(),\n page_id: z.string().describe(\"UUID of the parent page.\").nullable(),\n}).passthrough();\nconst NotionQueryDatabase_BlockParentSchema = z.object({\n type: z.string().describe(\"Always 'block_id'.\").nullable(),\n block_id: z.string().describe(\"UUID of the parent block.\").nullable(),\n}).passthrough();\nconst NotionQueryDatabase_WorkspaceParentSchema = z.object({\n type: z.string().describe(\"Always 'workspace'.\").nullable(),\n workspace: z.boolean().describe(\"Always true for workspace-level pages.\").nullable(),\n}).passthrough();\nconst NotionQueryDatabase_PartialUserSchema = z.object({\n id: z.string().describe(\"Unique identifier for the user.\").nullable(),\n object: z.string().describe(\"Always 'user'.\").nullable(),\n}).passthrough();\nconst NotionQueryDatabase_PageObjectSchema = z.object({\n id: z.string().describe(\"Unique identifier for the page (UUIDv4 format).\").nullable(),\n url: z.string().describe(\"The Notion URL of the page.\").nullable().optional(),\n icon: z.union([NotionQueryDatabase_EmojiIconSchema, NotionQueryDatabase_CustomEmojiIconSchema, NotionQueryDatabase_ExternalIconSchema, NotionQueryDatabase_NotionHostedFileIconSchema]).nullable().optional(),\n cover: z.union([NotionQueryDatabase_ExternalCoverSchema, NotionQueryDatabase_NotionHostedFileCoverSchema]).nullable().optional(),\n object: z.string().describe(\"Always 'page' for page objects.\").nullable(),\n parent: z.union([NotionQueryDatabase_DatabaseParentSchema, NotionQueryDatabase_DataSourceParentSchema, NotionQueryDatabase_PageParentSchema, NotionQueryDatabase_BlockParentSchema, NotionQueryDatabase_WorkspaceParentSchema]).nullable().optional(),\n archived: z.boolean().describe(\"Whether the page is archived.\").nullable().optional(),\n in_trash: z.boolean().describe(\"Whether the page is in trash.\").nullable().optional(),\n is_locked: z.boolean().describe(\"Whether the page is locked for editing.\").nullable().optional(),\n created_by: NotionQueryDatabase_PartialUserSchema.nullable().optional(),\n properties: z.record(z.string(), z.unknown()).describe(\"Property values of the page, conforming to the parent database schema. Keys are property names (case-sensitive). Each value is a property object with id, type, and type-specific value fields.\").nullable().optional(),\n public_url: z.string().describe(\"The public URL of the page if it has been published to the web, otherwise null.\").nullable().optional(),\n created_time: z.string().describe(\"ISO 8601 timestamp of when the page was created.\").nullable().optional(),\n last_edited_by: NotionQueryDatabase_PartialUserSchema.nullable().optional(),\n last_edited_time: z.string().describe(\"ISO 8601 timestamp of the most recent modification.\").nullable().optional(),\n}).passthrough();\nconst NotionQueryDatabase_RichTextAnnotationsSchema = z.object({\n bold: z.boolean().describe(\"Whether the text is bold.\").nullable(),\n code: z.boolean().describe(\"Whether the text is code.\").nullable(),\n color: z.string().describe(\"Text color.\").nullable(),\n italic: z.boolean().describe(\"Whether the text is italic.\").nullable(),\n underline: z.boolean().describe(\"Whether the text is underlined.\").nullable(),\n strikethrough: z.boolean().describe(\"Whether the text has strikethrough.\").nullable(),\n}).passthrough();\nconst NotionQueryDatabase_RichTextObjectSchema = z.object({\n href: z.string().describe(\"Link URL if any.\").nullable().optional(),\n text: z.record(z.string(), z.unknown()).describe(\"Text-specific content when type is 'text'.\").nullable().optional(),\n type: z.enum([\"text\", \"mention\", \"equation\"]).describe(\"Type of rich text object.\").nullable(),\n mention: z.record(z.string(), z.unknown()).describe(\"Mention-specific content when type is 'mention'.\").nullable().optional(),\n equation: z.record(z.string(), z.unknown()).describe(\"Equation-specific content when type is 'equation'.\").nullable().optional(),\n plain_text: z.string().describe(\"Plain text content without formatting.\").nullable(),\n annotations: NotionQueryDatabase_RichTextAnnotationsSchema.nullable(),\n}).passthrough();\nconst NotionQueryDatabase_DatabaseObjectSchema = z.object({\n id: z.string().describe(\"Unique identifier for the database (UUIDv4 format).\").nullable(),\n url: z.string().describe(\"The Notion URL of the database.\").nullable().optional(),\n icon: z.union([NotionQueryDatabase_EmojiIconSchema, NotionQueryDatabase_CustomEmojiIconSchema, NotionQueryDatabase_ExternalIconSchema, NotionQueryDatabase_NotionHostedFileIconSchema]).nullable().optional(),\n cover: z.union([NotionQueryDatabase_ExternalCoverSchema, NotionQueryDatabase_NotionHostedFileCoverSchema]).nullable().optional(),\n title: z.array(NotionQueryDatabase_RichTextObjectSchema).describe(\"Database title as rich text array.\").nullable().optional(),\n object: z.string().describe(\"Always 'database' for database objects.\").nullable(),\n parent: z.union([NotionQueryDatabase_DatabaseParentSchema, NotionQueryDatabase_DataSourceParentSchema, NotionQueryDatabase_PageParentSchema, NotionQueryDatabase_BlockParentSchema, NotionQueryDatabase_WorkspaceParentSchema]).nullable().optional(),\n archived: z.boolean().describe(\"Whether the database is archived.\").nullable().optional(),\n in_trash: z.boolean().describe(\"Whether the database is in trash.\").nullable().optional(),\n is_inline: z.boolean().describe(\"Whether the database is inline.\").nullable().optional(),\n created_by: NotionQueryDatabase_PartialUserSchema.nullable().optional(),\n properties: z.record(z.string(), z.unknown()).describe(\"Property schema definitions of the database. Keys are property names (case-sensitive). Each value is a property schema object with id, type, name, and type-specific configuration fields.\").nullable().optional(),\n public_url: z.string().describe(\"The public URL of the database if it has been published to the web, otherwise null.\").nullable().optional(),\n description: z.array(NotionQueryDatabase_RichTextObjectSchema).describe(\"Database description as rich text array.\").nullable().optional(),\n created_time: z.string().describe(\"ISO 8601 timestamp when database was created.\").nullable().optional(),\n last_edited_by: NotionQueryDatabase_PartialUserSchema.nullable().optional(),\n last_edited_time: z.string().describe(\"ISO 8601 timestamp of the most recent modification.\").nullable().optional(),\n}).passthrough();\nexport const NotionQueryDatabaseOutput = z.object({\n type: z.string().describe(\"The type of items in the results array, typically 'page_or_database'.\").nullable().optional(),\n object: z.string().describe(\"Always 'list' for paginated responses.\").nullable().optional(),\n results: z.array(z.union([NotionQueryDatabase_PageObjectSchema, NotionQueryDatabase_DatabaseObjectSchema])).describe(\"Array of Page and/or Database objects matching the query criteria.\").nullable().optional(),\n has_more: z.boolean().describe(\"Whether there are more results available beyond the current page.\").nullable().optional(),\n request_id: z.string().describe(\"Unique identifier for tracking the API request.\").nullable().optional(),\n next_cursor: z.string().describe(\"Pagination cursor for retrieving the next page of results. Null if there are no more results.\").nullable().optional(),\n page_or_database: z.record(z.string(), z.unknown()).describe(\"Optional union container present when type is 'page_or_database'. Typically an empty object.\").nullable().optional(),\n composio_execution_message: z.string().describe(\"Internal message about input transformations or important execution notes.\").nullable().optional(),\n}).passthrough();\n\nexport const notionQueryDatabase = action(\"NOTION_QUERY_DATABASE\", {\n slug: \"notion-query-database\",\n name: \"Query database\",\n description: \"Queries a Notion database to retrieve pages (rows). In Notion, databases are collections where each row is a page and columns are properties. Returns paginated results with metadata. Important requirements: - The database must be shared with your integration - Property names in sorts must match existing database properties exactly (case-sensitive) - For timestamp sorting, use 'created_time' or 'last_edited_time' (case-insensitive) - The start_cursor must be a valid UUID from a previous response's next_cursor field - Database IDs must be valid 32-character UUIDs (with or without hyphens) Use this action to: - Retrieve all or filtered database entries - Sort results by database properties or page timestamps - Paginate through large result sets - Get database content for processing or display\",\n input: NotionQueryDatabaseInput,\n output: NotionQueryDatabaseOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2B,EAAE,OAAO;CAC/C,OAAO,EAAE,MAAM,EAAE,OAAO;EACxB,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,qGAAqG;EACrI,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,sgBAAsgB;CAC3iB,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,CAAC,SAAS,uXAAuX,CAAC,CAAC,SAAS;CAC3Z,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,GAAG,CAAC,CAAC,SAAS,gLAAgL,CAAC,CAAC,SAAS;CAC7O,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,u0BAAu0B;CACx2B,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,8QAA8Q,CAAC,CAAC,SAAS;AAC7T,CAAC;AACD,MAAM,sCAAsC,EAAE,OAAO;CACnD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS;CACtD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;AAC9D,CAAC,CAAC,CAAC,YAAY;AACf,MAAM,+CAA+C,EAAE,OAAO;CAC5D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CAC5E,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACvE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;AAC1E,CAAC,CAAC,CAAC,YAAY;AACf,MAAM,4CAA4C,EAAE,OAAO;CACzD,MAAM,EAAE,O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