@keystrokehq/notion 0.1.2 → 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 (266) hide show
  1. package/README.md +1 -1
  2. package/dist/actions/add-multiple-page-content.cjs +5 -5
  3. package/dist/actions/add-multiple-page-content.cjs.map +1 -1
  4. package/dist/actions/add-multiple-page-content.d.cts +18 -16
  5. package/dist/actions/add-multiple-page-content.d.cts.map +1 -1
  6. package/dist/actions/add-multiple-page-content.d.mts +18 -16
  7. package/dist/actions/add-multiple-page-content.d.mts.map +1 -1
  8. package/dist/actions/add-multiple-page-content.mjs +5 -5
  9. package/dist/actions/add-multiple-page-content.mjs.map +1 -1
  10. package/dist/actions/append-code-blocks.cjs +60 -60
  11. package/dist/actions/append-code-blocks.cjs.map +1 -1
  12. package/dist/actions/append-code-blocks.d.cts +167 -149
  13. package/dist/actions/append-code-blocks.d.mts +167 -149
  14. package/dist/actions/append-code-blocks.mjs +60 -60
  15. package/dist/actions/append-code-blocks.mjs.map +1 -1
  16. package/dist/actions/append-layout-blocks.cjs +51 -51
  17. package/dist/actions/append-layout-blocks.cjs.map +1 -1
  18. package/dist/actions/append-layout-blocks.d.cts +151 -141
  19. package/dist/actions/append-layout-blocks.d.mts +151 -141
  20. package/dist/actions/append-layout-blocks.mjs +51 -51
  21. package/dist/actions/append-layout-blocks.mjs.map +1 -1
  22. package/dist/actions/append-media-blocks.cjs +85 -85
  23. package/dist/actions/append-media-blocks.cjs.map +1 -1
  24. package/dist/actions/append-media-blocks.d.cts +217 -174
  25. package/dist/actions/append-media-blocks.d.mts +217 -174
  26. package/dist/actions/append-media-blocks.mjs +85 -85
  27. package/dist/actions/append-media-blocks.mjs.map +1 -1
  28. package/dist/actions/append-table-blocks.cjs +47 -47
  29. package/dist/actions/append-table-blocks.cjs.map +1 -1
  30. package/dist/actions/append-table-blocks.d.cts +143 -137
  31. package/dist/actions/append-table-blocks.d.mts +143 -137
  32. package/dist/actions/append-table-blocks.mjs +47 -47
  33. package/dist/actions/append-table-blocks.mjs.map +1 -1
  34. package/dist/actions/append-task-blocks.cjs +61 -61
  35. package/dist/actions/append-task-blocks.cjs.map +1 -1
  36. package/dist/actions/append-task-blocks.d.cts +169 -150
  37. package/dist/actions/append-task-blocks.d.mts +169 -150
  38. package/dist/actions/append-task-blocks.mjs +61 -61
  39. package/dist/actions/append-task-blocks.mjs.map +1 -1
  40. package/dist/actions/append-text-blocks.cjs +78 -78
  41. package/dist/actions/append-text-blocks.cjs.map +1 -1
  42. package/dist/actions/append-text-blocks.d.cts +203 -167
  43. package/dist/actions/append-text-blocks.d.mts +203 -167
  44. package/dist/actions/append-text-blocks.mjs +78 -78
  45. package/dist/actions/append-text-blocks.mjs.map +1 -1
  46. package/dist/actions/archive-notion-page.cjs +17 -17
  47. package/dist/actions/archive-notion-page.cjs.map +1 -1
  48. package/dist/actions/archive-notion-page.d.cts +20 -20
  49. package/dist/actions/archive-notion-page.d.mts +20 -20
  50. package/dist/actions/archive-notion-page.mjs +17 -17
  51. package/dist/actions/archive-notion-page.mjs.map +1 -1
  52. package/dist/actions/create-comment.d.cts +9 -9
  53. package/dist/actions/create-comment.d.mts +9 -9
  54. package/dist/actions/create-database.cjs +15 -15
  55. package/dist/actions/create-database.cjs.map +1 -1
  56. package/dist/actions/create-database.d.cts +26 -25
  57. package/dist/actions/create-database.d.mts +26 -25
  58. package/dist/actions/create-database.mjs +15 -15
  59. package/dist/actions/create-database.mjs.map +1 -1
  60. package/dist/actions/create-file-upload.cjs +1 -1
  61. package/dist/actions/create-file-upload.cjs.map +1 -1
  62. package/dist/actions/create-file-upload.d.cts +1 -1
  63. package/dist/actions/create-file-upload.d.mts +1 -1
  64. package/dist/actions/create-file-upload.mjs +1 -1
  65. package/dist/actions/create-file-upload.mjs.map +1 -1
  66. package/dist/actions/create-notion-page.cjs +14 -14
  67. package/dist/actions/create-notion-page.cjs.map +1 -1
  68. package/dist/actions/create-notion-page.d.cts +18 -18
  69. package/dist/actions/create-notion-page.d.mts +18 -18
  70. package/dist/actions/create-notion-page.mjs +14 -14
  71. package/dist/actions/create-notion-page.mjs.map +1 -1
  72. package/dist/actions/delete-block.cjs +46 -46
  73. package/dist/actions/delete-block.cjs.map +1 -1
  74. package/dist/actions/delete-block.d.cts +338 -338
  75. package/dist/actions/delete-block.d.mts +338 -338
  76. package/dist/actions/delete-block.mjs +46 -46
  77. package/dist/actions/delete-block.mjs.map +1 -1
  78. package/dist/actions/duplicate-page.cjs +20 -20
  79. package/dist/actions/duplicate-page.cjs.map +1 -1
  80. package/dist/actions/duplicate-page.d.cts +24 -24
  81. package/dist/actions/duplicate-page.d.mts +24 -24
  82. package/dist/actions/duplicate-page.mjs +20 -20
  83. package/dist/actions/duplicate-page.mjs.map +1 -1
  84. package/dist/actions/fetch-all-block-contents.cjs +58 -58
  85. package/dist/actions/fetch-all-block-contents.cjs.map +1 -1
  86. package/dist/actions/fetch-all-block-contents.d.cts +4 -4
  87. package/dist/actions/fetch-all-block-contents.d.mts +4 -4
  88. package/dist/actions/fetch-all-block-contents.mjs +58 -58
  89. package/dist/actions/fetch-all-block-contents.mjs.map +1 -1
  90. package/dist/actions/fetch-block-contents.cjs +49 -49
  91. package/dist/actions/fetch-block-contents.cjs.map +1 -1
  92. package/dist/actions/fetch-block-contents.d.cts +172 -172
  93. package/dist/actions/fetch-block-contents.d.mts +172 -172
  94. package/dist/actions/fetch-block-contents.mjs +49 -49
  95. package/dist/actions/fetch-block-contents.mjs.map +1 -1
  96. package/dist/actions/fetch-block-metadata.cjs +43 -43
  97. package/dist/actions/fetch-block-metadata.cjs.map +1 -1
  98. package/dist/actions/fetch-block-metadata.d.cts +296 -296
  99. package/dist/actions/fetch-block-metadata.d.mts +296 -296
  100. package/dist/actions/fetch-block-metadata.mjs +43 -43
  101. package/dist/actions/fetch-block-metadata.mjs.map +1 -1
  102. package/dist/actions/fetch-comments.cjs +24 -24
  103. package/dist/actions/fetch-comments.cjs.map +1 -1
  104. package/dist/actions/fetch-comments.d.cts +33 -33
  105. package/dist/actions/fetch-comments.d.mts +33 -33
  106. package/dist/actions/fetch-comments.mjs +24 -24
  107. package/dist/actions/fetch-comments.mjs.map +1 -1
  108. package/dist/actions/fetch-data.cjs +33 -33
  109. package/dist/actions/fetch-data.cjs.map +1 -1
  110. package/dist/actions/fetch-data.d.cts +131 -131
  111. package/dist/actions/fetch-data.d.mts +131 -131
  112. package/dist/actions/fetch-data.mjs +33 -33
  113. package/dist/actions/fetch-data.mjs.map +1 -1
  114. package/dist/actions/fetch-database.cjs +13 -13
  115. package/dist/actions/fetch-database.cjs.map +1 -1
  116. package/dist/actions/fetch-database.d.cts +18 -18
  117. package/dist/actions/fetch-database.d.mts +18 -18
  118. package/dist/actions/fetch-database.mjs +13 -13
  119. package/dist/actions/fetch-database.mjs.map +1 -1
  120. package/dist/actions/fetch-row.cjs +23 -23
  121. package/dist/actions/fetch-row.cjs.map +1 -1
  122. package/dist/actions/fetch-row.d.cts +40 -40
  123. package/dist/actions/fetch-row.d.mts +40 -40
  124. package/dist/actions/fetch-row.mjs +23 -23
  125. package/dist/actions/fetch-row.mjs.map +1 -1
  126. package/dist/actions/get-about-user.cjs +6 -6
  127. package/dist/actions/get-about-user.cjs.map +1 -1
  128. package/dist/actions/get-about-user.d.cts +8 -8
  129. package/dist/actions/get-about-user.d.mts +8 -8
  130. package/dist/actions/get-about-user.mjs +6 -6
  131. package/dist/actions/get-about-user.mjs.map +1 -1
  132. package/dist/actions/get-page-markdown.cjs +1 -1
  133. package/dist/actions/get-page-markdown.cjs.map +1 -1
  134. package/dist/actions/get-page-markdown.d.cts +1 -1
  135. package/dist/actions/get-page-markdown.d.mts +1 -1
  136. package/dist/actions/get-page-markdown.mjs +1 -1
  137. package/dist/actions/get-page-markdown.mjs.map +1 -1
  138. package/dist/actions/insert-row-database.cjs +22 -22
  139. package/dist/actions/insert-row-database.cjs.map +1 -1
  140. package/dist/actions/insert-row-database.d.cts +40 -38
  141. package/dist/actions/insert-row-database.d.mts +40 -38
  142. package/dist/actions/insert-row-database.mjs +22 -22
  143. package/dist/actions/insert-row-database.mjs.map +1 -1
  144. package/dist/actions/insert-row-from-nl.cjs +1 -1
  145. package/dist/actions/insert-row-from-nl.cjs.map +1 -1
  146. package/dist/actions/insert-row-from-nl.d.cts +1 -1
  147. package/dist/actions/insert-row-from-nl.d.mts +1 -1
  148. package/dist/actions/insert-row-from-nl.mjs +1 -1
  149. package/dist/actions/insert-row-from-nl.mjs.map +1 -1
  150. package/dist/actions/list-data-source-templates.cjs +2 -2
  151. package/dist/actions/list-data-source-templates.cjs.map +1 -1
  152. package/dist/actions/list-data-source-templates.d.cts +2 -2
  153. package/dist/actions/list-data-source-templates.d.mts +2 -2
  154. package/dist/actions/list-data-source-templates.mjs +2 -2
  155. package/dist/actions/list-data-source-templates.mjs.map +1 -1
  156. package/dist/actions/list-file-uploads.cjs +2 -2
  157. package/dist/actions/list-file-uploads.cjs.map +1 -1
  158. package/dist/actions/list-file-uploads.d.cts +2 -2
  159. package/dist/actions/list-file-uploads.d.mts +2 -2
  160. package/dist/actions/list-file-uploads.mjs +2 -2
  161. package/dist/actions/list-file-uploads.mjs.map +1 -1
  162. package/dist/actions/list-users.cjs +8 -8
  163. package/dist/actions/list-users.cjs.map +1 -1
  164. package/dist/actions/list-users.d.cts +11 -11
  165. package/dist/actions/list-users.d.mts +11 -11
  166. package/dist/actions/list-users.mjs +8 -8
  167. package/dist/actions/list-users.mjs.map +1 -1
  168. package/dist/actions/move-page.cjs +18 -18
  169. package/dist/actions/move-page.cjs.map +1 -1
  170. package/dist/actions/move-page.d.cts +23 -21
  171. package/dist/actions/move-page.d.mts +23 -21
  172. package/dist/actions/move-page.mjs +18 -18
  173. package/dist/actions/move-page.mjs.map +1 -1
  174. package/dist/actions/query-data-source.cjs +18 -18
  175. package/dist/actions/query-data-source.cjs.map +1 -1
  176. package/dist/actions/query-data-source.d.cts +34 -32
  177. package/dist/actions/query-data-source.d.cts.map +1 -1
  178. package/dist/actions/query-data-source.d.mts +34 -32
  179. package/dist/actions/query-data-source.d.mts.map +1 -1
  180. package/dist/actions/query-data-source.mjs +18 -18
  181. package/dist/actions/query-data-source.mjs.map +1 -1
  182. package/dist/actions/query-database-with-filter.cjs +25 -25
  183. package/dist/actions/query-database-with-filter.cjs.map +1 -1
  184. package/dist/actions/query-database-with-filter.d.cts +50 -48
  185. package/dist/actions/query-database-with-filter.d.cts.map +1 -1
  186. package/dist/actions/query-database-with-filter.d.mts +50 -48
  187. package/dist/actions/query-database-with-filter.d.mts.map +1 -1
  188. package/dist/actions/query-database-with-filter.mjs +25 -25
  189. package/dist/actions/query-database-with-filter.mjs.map +1 -1
  190. package/dist/actions/query-database.cjs +24 -24
  191. package/dist/actions/query-database.cjs.map +1 -1
  192. package/dist/actions/query-database.d.cts +49 -48
  193. package/dist/actions/query-database.d.mts +49 -48
  194. package/dist/actions/query-database.mjs +24 -24
  195. package/dist/actions/query-database.mjs.map +1 -1
  196. package/dist/actions/replace-page-content.cjs +130 -130
  197. package/dist/actions/replace-page-content.cjs.map +1 -1
  198. package/dist/actions/replace-page-content.d.cts +261 -131
  199. package/dist/actions/replace-page-content.d.mts +261 -131
  200. package/dist/actions/replace-page-content.mjs +130 -130
  201. package/dist/actions/replace-page-content.mjs.map +1 -1
  202. package/dist/actions/retrieve-database-property.cjs +25 -25
  203. package/dist/actions/retrieve-database-property.cjs.map +1 -1
  204. package/dist/actions/retrieve-database-property.d.cts +28 -28
  205. package/dist/actions/retrieve-database-property.d.mts +28 -28
  206. package/dist/actions/retrieve-database-property.mjs +25 -25
  207. package/dist/actions/retrieve-database-property.mjs.map +1 -1
  208. package/dist/actions/retrieve-file-upload.cjs +1 -1
  209. package/dist/actions/retrieve-file-upload.cjs.map +1 -1
  210. package/dist/actions/retrieve-file-upload.d.cts +1 -1
  211. package/dist/actions/retrieve-file-upload.d.mts +1 -1
  212. package/dist/actions/retrieve-file-upload.mjs +1 -1
  213. package/dist/actions/retrieve-file-upload.mjs.map +1 -1
  214. package/dist/actions/retrieve-page.cjs +23 -23
  215. package/dist/actions/retrieve-page.cjs.map +1 -1
  216. package/dist/actions/retrieve-page.d.cts +38 -38
  217. package/dist/actions/retrieve-page.d.mts +38 -38
  218. package/dist/actions/retrieve-page.mjs +23 -23
  219. package/dist/actions/retrieve-page.mjs.map +1 -1
  220. package/dist/actions/search-notion-page.cjs +34 -34
  221. package/dist/actions/search-notion-page.cjs.map +1 -1
  222. package/dist/actions/search-notion-page.d.cts +157 -157
  223. package/dist/actions/search-notion-page.d.mts +157 -157
  224. package/dist/actions/search-notion-page.mjs +34 -34
  225. package/dist/actions/search-notion-page.mjs.map +1 -1
  226. package/dist/actions/send-file-upload.cjs +1 -1
  227. package/dist/actions/send-file-upload.cjs.map +1 -1
  228. package/dist/actions/send-file-upload.d.cts +1 -1
  229. package/dist/actions/send-file-upload.d.mts +1 -1
  230. package/dist/actions/send-file-upload.mjs +1 -1
  231. package/dist/actions/send-file-upload.mjs.map +1 -1
  232. package/dist/actions/update-block.cjs +47 -47
  233. package/dist/actions/update-block.cjs.map +1 -1
  234. package/dist/actions/update-block.d.cts +141 -141
  235. package/dist/actions/update-block.d.mts +141 -141
  236. package/dist/actions/update-block.mjs +47 -47
  237. package/dist/actions/update-block.mjs.map +1 -1
  238. package/dist/actions/update-page.cjs +16 -16
  239. package/dist/actions/update-page.cjs.map +1 -1
  240. package/dist/actions/update-page.d.cts +23 -23
  241. package/dist/actions/update-page.d.mts +23 -23
  242. package/dist/actions/update-page.mjs +16 -16
  243. package/dist/actions/update-page.mjs.map +1 -1
  244. package/dist/actions/update-row-database.cjs +21 -21
  245. package/dist/actions/update-row-database.cjs.map +1 -1
  246. package/dist/actions/update-row-database.d.cts +29 -28
  247. package/dist/actions/update-row-database.d.mts +29 -28
  248. package/dist/actions/update-row-database.mjs +21 -21
  249. package/dist/actions/update-row-database.mjs.map +1 -1
  250. package/dist/actions/update-schema-database.cjs +8 -8
  251. package/dist/actions/update-schema-database.cjs.map +1 -1
  252. package/dist/actions/update-schema-database.d.cts +12 -11
  253. package/dist/actions/update-schema-database.d.mts +12 -11
  254. package/dist/actions/update-schema-database.mjs +8 -8
  255. package/dist/actions/update-schema-database.mjs.map +1 -1
  256. package/dist/actions/upsert-row-database.cjs +28 -28
  257. package/dist/actions/upsert-row-database.cjs.map +1 -1
  258. package/dist/actions/upsert-row-database.d.cts +54 -30
  259. package/dist/actions/upsert-row-database.d.mts +54 -30
  260. package/dist/actions/upsert-row-database.mjs +28 -28
  261. package/dist/actions/upsert-row-database.mjs.map +1 -1
  262. package/dist/execute.cjs +1 -1
  263. package/dist/execute.cjs.map +1 -1
  264. package/dist/execute.mjs +1 -1
  265. package/dist/execute.mjs.map +1 -1
  266. package/package.json +1 -1
@@ -5,7 +5,7 @@ declare const NotionQueryDatabaseInput: z.ZodObject<{
5
5
  sorts: z.ZodOptional<z.ZodArray<z.ZodObject<{
6
6
  ascending: z.ZodBoolean;
7
7
  property_name: z.ZodString;
8
- }, z.core.$strip>>>;
8
+ }, z.core.$loose>>>;
9
9
  page_size: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
10
10
  database_id: z.ZodString;
11
11
  start_cursor: z.ZodOptional<z.ZodString>;
@@ -19,107 +19,107 @@ declare const NotionQueryDatabaseOutput: z.ZodObject<{
19
19
  icon: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodObject<{
20
20
  type: z.ZodNullable<z.ZodString>;
21
21
  emoji: z.ZodNullable<z.ZodString>;
22
- }, z.core.$strip>, z.ZodObject<{
22
+ }, z.core.$loose>, z.ZodObject<{
23
23
  type: z.ZodNullable<z.ZodString>;
24
24
  custom_emoji: z.ZodNullable<z.ZodObject<{
25
25
  id: z.ZodNullable<z.ZodString>;
26
26
  url: z.ZodNullable<z.ZodString>;
27
27
  name: z.ZodNullable<z.ZodString>;
28
- }, z.core.$strip>>;
29
- }, z.core.$strip>, z.ZodObject<{
28
+ }, z.core.$loose>>;
29
+ }, z.core.$loose>, z.ZodObject<{
30
30
  type: z.ZodNullable<z.ZodString>;
31
31
  external: z.ZodNullable<z.ZodObject<{
32
32
  url: z.ZodNullable<z.ZodString>;
33
- }, z.core.$strip>>;
34
- }, z.core.$strip>, z.ZodObject<{
33
+ }, z.core.$loose>>;
34
+ }, z.core.$loose>, z.ZodObject<{
35
35
  file: z.ZodNullable<z.ZodObject<{
36
36
  url: z.ZodNullable<z.ZodString>;
37
37
  expiry_time: z.ZodNullable<z.ZodString>;
38
- }, z.core.$strip>>;
38
+ }, z.core.$loose>>;
39
39
  type: z.ZodNullable<z.ZodString>;
40
- }, z.core.$strip>]>>>;
40
+ }, z.core.$loose>]>>>;
41
41
  cover: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodObject<{
42
42
  type: z.ZodNullable<z.ZodString>;
43
43
  external: z.ZodNullable<z.ZodObject<{
44
44
  url: z.ZodNullable<z.ZodString>;
45
- }, z.core.$strip>>;
46
- }, z.core.$strip>, z.ZodObject<{
45
+ }, z.core.$loose>>;
46
+ }, z.core.$loose>, z.ZodObject<{
47
47
  file: z.ZodNullable<z.ZodObject<{
48
48
  url: z.ZodNullable<z.ZodString>;
49
49
  expiry_time: z.ZodNullable<z.ZodString>;
50
- }, z.core.$strip>>;
50
+ }, z.core.$loose>>;
51
51
  type: z.ZodNullable<z.ZodString>;
52
- }, z.core.$strip>]>>>;
52
+ }, z.core.$loose>]>>>;
53
53
  object: z.ZodNullable<z.ZodString>;
54
54
  parent: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodObject<{
55
55
  type: z.ZodNullable<z.ZodString>;
56
56
  database_id: z.ZodNullable<z.ZodString>;
57
- }, z.core.$strip>, z.ZodObject<{
57
+ }, z.core.$loose>, z.ZodObject<{
58
58
  type: z.ZodNullable<z.ZodString>;
59
59
  database_id: z.ZodNullable<z.ZodString>;
60
60
  data_source_id: z.ZodNullable<z.ZodString>;
61
- }, z.core.$strip>, z.ZodObject<{
61
+ }, z.core.$loose>, z.ZodObject<{
62
62
  type: z.ZodNullable<z.ZodString>;
63
63
  page_id: z.ZodNullable<z.ZodString>;
64
- }, z.core.$strip>, z.ZodObject<{
64
+ }, z.core.$loose>, z.ZodObject<{
65
65
  type: z.ZodNullable<z.ZodString>;
66
66
  block_id: z.ZodNullable<z.ZodString>;
67
- }, z.core.$strip>, z.ZodObject<{
67
+ }, z.core.$loose>, z.ZodObject<{
68
68
  type: z.ZodNullable<z.ZodString>;
69
69
  workspace: z.ZodNullable<z.ZodBoolean>;
70
- }, z.core.$strip>]>>>;
70
+ }, z.core.$loose>]>>>;
71
71
  archived: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
72
72
  in_trash: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
73
73
  is_locked: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
74
74
  created_by: z.ZodOptional<z.ZodNullable<z.ZodObject<{
75
75
  id: z.ZodNullable<z.ZodString>;
76
76
  object: z.ZodNullable<z.ZodString>;
77
- }, z.core.$strip>>>;
78
- properties: z.ZodOptional<z.ZodNullable<z.ZodObject<{}, z.core.$strip>>>;
77
+ }, z.core.$loose>>>;
78
+ properties: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
79
79
  public_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
80
80
  created_time: z.ZodOptional<z.ZodNullable<z.ZodString>>;
81
81
  last_edited_by: z.ZodOptional<z.ZodNullable<z.ZodObject<{
82
82
  id: z.ZodNullable<z.ZodString>;
83
83
  object: z.ZodNullable<z.ZodString>;
84
- }, z.core.$strip>>>;
84
+ }, z.core.$loose>>>;
85
85
  last_edited_time: z.ZodOptional<z.ZodNullable<z.ZodString>>;
86
- }, z.core.$strip>, z.ZodObject<{
86
+ }, z.core.$loose>, z.ZodObject<{
87
87
  id: z.ZodNullable<z.ZodString>;
88
88
  url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
89
89
  icon: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodObject<{
90
90
  type: z.ZodNullable<z.ZodString>;
91
91
  emoji: z.ZodNullable<z.ZodString>;
92
- }, z.core.$strip>, z.ZodObject<{
92
+ }, z.core.$loose>, z.ZodObject<{
93
93
  type: z.ZodNullable<z.ZodString>;
94
94
  custom_emoji: z.ZodNullable<z.ZodObject<{
95
95
  id: z.ZodNullable<z.ZodString>;
96
96
  url: z.ZodNullable<z.ZodString>;
97
97
  name: z.ZodNullable<z.ZodString>;
98
- }, z.core.$strip>>;
99
- }, z.core.$strip>, z.ZodObject<{
98
+ }, z.core.$loose>>;
99
+ }, z.core.$loose>, z.ZodObject<{
100
100
  type: z.ZodNullable<z.ZodString>;
101
101
  external: z.ZodNullable<z.ZodObject<{
102
102
  url: z.ZodNullable<z.ZodString>;
103
- }, z.core.$strip>>;
104
- }, z.core.$strip>, z.ZodObject<{
103
+ }, z.core.$loose>>;
104
+ }, z.core.$loose>, z.ZodObject<{
105
105
  file: z.ZodNullable<z.ZodObject<{
106
106
  url: z.ZodNullable<z.ZodString>;
107
107
  expiry_time: z.ZodNullable<z.ZodString>;
108
- }, z.core.$strip>>;
108
+ }, z.core.$loose>>;
109
109
  type: z.ZodNullable<z.ZodString>;
110
- }, z.core.$strip>]>>>;
110
+ }, z.core.$loose>]>>>;
111
111
  cover: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodObject<{
112
112
  type: z.ZodNullable<z.ZodString>;
113
113
  external: z.ZodNullable<z.ZodObject<{
114
114
  url: z.ZodNullable<z.ZodString>;
115
- }, z.core.$strip>>;
116
- }, z.core.$strip>, z.ZodObject<{
115
+ }, z.core.$loose>>;
116
+ }, z.core.$loose>, z.ZodObject<{
117
117
  file: z.ZodNullable<z.ZodObject<{
118
118
  url: z.ZodNullable<z.ZodString>;
119
119
  expiry_time: z.ZodNullable<z.ZodString>;
120
- }, z.core.$strip>>;
120
+ }, z.core.$loose>>;
121
121
  type: z.ZodNullable<z.ZodString>;
122
- }, z.core.$strip>]>>>;
122
+ }, z.core.$loose>]>>>;
123
123
  title: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
124
124
  href: z.ZodOptional<z.ZodNullable<z.ZodString>>;
125
125
  text: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
@@ -129,7 +129,7 @@ declare const NotionQueryDatabaseOutput: z.ZodObject<{
129
129
  mention: "mention";
130
130
  }>>;
131
131
  mention: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
132
- equation: z.ZodOptional<z.ZodNullable<z.ZodObject<{}, z.core.$strip>>>;
132
+ equation: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
133
133
  plain_text: z.ZodNullable<z.ZodString>;
134
134
  annotations: z.ZodNullable<z.ZodObject<{
135
135
  bold: z.ZodNullable<z.ZodBoolean>;
@@ -138,34 +138,34 @@ declare const NotionQueryDatabaseOutput: z.ZodObject<{
138
138
  italic: z.ZodNullable<z.ZodBoolean>;
139
139
  underline: z.ZodNullable<z.ZodBoolean>;
140
140
  strikethrough: z.ZodNullable<z.ZodBoolean>;
141
- }, z.core.$strip>>;
142
- }, z.core.$strip>>>>;
141
+ }, z.core.$loose>>;
142
+ }, z.core.$loose>>>>;
143
143
  object: z.ZodNullable<z.ZodString>;
144
144
  parent: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodObject<{
145
145
  type: z.ZodNullable<z.ZodString>;
146
146
  database_id: z.ZodNullable<z.ZodString>;
147
- }, z.core.$strip>, z.ZodObject<{
147
+ }, z.core.$loose>, z.ZodObject<{
148
148
  type: z.ZodNullable<z.ZodString>;
149
149
  database_id: z.ZodNullable<z.ZodString>;
150
150
  data_source_id: z.ZodNullable<z.ZodString>;
151
- }, z.core.$strip>, z.ZodObject<{
151
+ }, z.core.$loose>, z.ZodObject<{
152
152
  type: z.ZodNullable<z.ZodString>;
153
153
  page_id: z.ZodNullable<z.ZodString>;
154
- }, z.core.$strip>, z.ZodObject<{
154
+ }, z.core.$loose>, z.ZodObject<{
155
155
  type: z.ZodNullable<z.ZodString>;
156
156
  block_id: z.ZodNullable<z.ZodString>;
157
- }, z.core.$strip>, z.ZodObject<{
157
+ }, z.core.$loose>, z.ZodObject<{
158
158
  type: z.ZodNullable<z.ZodString>;
159
159
  workspace: z.ZodNullable<z.ZodBoolean>;
160
- }, z.core.$strip>]>>>;
160
+ }, z.core.$loose>]>>>;
161
161
  archived: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
162
162
  in_trash: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
163
163
  is_inline: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
164
164
  created_by: z.ZodOptional<z.ZodNullable<z.ZodObject<{
165
165
  id: z.ZodNullable<z.ZodString>;
166
166
  object: z.ZodNullable<z.ZodString>;
167
- }, z.core.$strip>>>;
168
- properties: z.ZodOptional<z.ZodNullable<z.ZodObject<{}, z.core.$strip>>>;
167
+ }, z.core.$loose>>>;
168
+ properties: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
169
169
  public_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
170
170
  description: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
171
171
  href: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -176,7 +176,7 @@ declare const NotionQueryDatabaseOutput: z.ZodObject<{
176
176
  mention: "mention";
177
177
  }>>;
178
178
  mention: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
179
- equation: z.ZodOptional<z.ZodNullable<z.ZodObject<{}, z.core.$strip>>>;
179
+ equation: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
180
180
  plain_text: z.ZodNullable<z.ZodString>;
181
181
  annotations: z.ZodNullable<z.ZodObject<{
182
182
  bold: z.ZodNullable<z.ZodBoolean>;
@@ -185,24 +185,25 @@ declare const NotionQueryDatabaseOutput: z.ZodObject<{
185
185
  italic: z.ZodNullable<z.ZodBoolean>;
186
186
  underline: z.ZodNullable<z.ZodBoolean>;
187
187
  strikethrough: z.ZodNullable<z.ZodBoolean>;
188
- }, z.core.$strip>>;
189
- }, z.core.$strip>>>>;
188
+ }, z.core.$loose>>;
189
+ }, z.core.$loose>>>>;
190
190
  created_time: z.ZodOptional<z.ZodNullable<z.ZodString>>;
191
191
  last_edited_by: z.ZodOptional<z.ZodNullable<z.ZodObject<{
192
192
  id: z.ZodNullable<z.ZodString>;
193
193
  object: z.ZodNullable<z.ZodString>;
194
- }, z.core.$strip>>>;
194
+ }, z.core.$loose>>>;
195
195
  last_edited_time: z.ZodOptional<z.ZodNullable<z.ZodString>>;
196
- }, z.core.$strip>]>>>>;
196
+ }, z.core.$loose>]>>>>;
197
197
  has_more: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
198
198
  request_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
199
199
  next_cursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
200
200
  page_or_database: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
201
201
  composio_execution_message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
202
- }, z.core.$strip>;
202
+ }, z.core.$loose>;
203
203
  declare const notionQueryDatabase: import("@keystrokehq/action").WorkflowActionDefinition<{
204
204
  database_id: string;
205
205
  sorts?: {
206
+ [x: string]: unknown;
206
207
  ascending: boolean;
207
208
  property_name: string;
208
209
  }[] | undefined;
@@ -5,7 +5,7 @@ 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()
@@ -13,62 +13,62 @@ const NotionQueryDatabaseInput = z.object({
13
13
  const NotionQueryDatabase_EmojiIconSchema = z.object({
14
14
  type: z.string().describe("Always 'emoji'.").nullable(),
15
15
  emoji: z.string().describe("The emoji character.").nullable()
16
- });
16
+ }).passthrough();
17
17
  const NotionQueryDatabase_CustomEmojiDetailsSchema = z.object({
18
18
  id: z.string().describe("Unique identifier for the custom emoji.").nullable(),
19
19
  url: z.string().describe("S3-hosted URL to the emoji image.").nullable(),
20
20
  name: z.string().describe("Display name of the custom emoji.").nullable()
21
- });
21
+ }).passthrough();
22
22
  const NotionQueryDatabase_CustomEmojiIconSchema = z.object({
23
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.").nullable() });
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
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
32
  url: z.string().describe("Authenticated HTTP GET URL to the file, valid for one hour.").nullable(),
33
33
  expiry_time: z.string().describe("ISO 8601 timestamp when the URL expires.").nullable()
34
- });
34
+ }).passthrough();
35
35
  const NotionQueryDatabase_NotionHostedFileIconSchema = z.object({
36
36
  file: NotionQueryDatabase_NotionHostedFileDetailsSchema.nullable(),
37
37
  type: z.string().describe("Always 'file'.").nullable()
38
- });
38
+ }).passthrough();
39
39
  const NotionQueryDatabase_ExternalCoverSchema = z.object({
40
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
45
  type: z.string().describe("Always 'file'.").nullable()
46
- });
46
+ }).passthrough();
47
47
  const NotionQueryDatabase_DatabaseParentSchema = z.object({
48
48
  type: z.string().describe("Always 'database_id'.").nullable(),
49
49
  database_id: z.string().describe("UUID of the parent database.").nullable()
50
- });
50
+ }).passthrough();
51
51
  const NotionQueryDatabase_DataSourceParentSchema = z.object({
52
52
  type: z.string().describe("Always 'data_source_id'.").nullable(),
53
53
  database_id: z.string().describe("UUID of the parent database for convenience.").nullable(),
54
54
  data_source_id: z.string().describe("UUID of the parent data source.").nullable()
55
- });
55
+ }).passthrough();
56
56
  const NotionQueryDatabase_PageParentSchema = z.object({
57
57
  type: z.string().describe("Always 'page_id'.").nullable(),
58
58
  page_id: z.string().describe("UUID of the parent page.").nullable()
59
- });
59
+ }).passthrough();
60
60
  const NotionQueryDatabase_BlockParentSchema = z.object({
61
61
  type: z.string().describe("Always 'block_id'.").nullable(),
62
62
  block_id: z.string().describe("UUID of the parent block.").nullable()
63
- });
63
+ }).passthrough();
64
64
  const NotionQueryDatabase_WorkspaceParentSchema = z.object({
65
65
  type: z.string().describe("Always 'workspace'.").nullable(),
66
66
  workspace: z.boolean().describe("Always true for workspace-level pages.").nullable()
67
- });
67
+ }).passthrough();
68
68
  const NotionQueryDatabase_PartialUserSchema = z.object({
69
69
  id: z.string().describe("Unique identifier for the user.").nullable(),
70
70
  object: z.string().describe("Always 'user'.").nullable()
71
- });
71
+ }).passthrough();
72
72
  const NotionQueryDatabase_PageObjectSchema = z.object({
73
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(),
@@ -91,12 +91,12 @@ 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
101
  bold: z.boolean().describe("Whether the text is bold.").nullable(),
102
102
  code: z.boolean().describe("Whether the text is code.").nullable(),
@@ -104,7 +104,7 @@ const NotionQueryDatabase_RichTextAnnotationsSchema = z.object({
104
104
  italic: z.boolean().describe("Whether the text is italic.").nullable(),
105
105
  underline: z.boolean().describe("Whether the text is underlined.").nullable(),
106
106
  strikethrough: z.boolean().describe("Whether the text has strikethrough.").nullable()
107
- });
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(),
@@ -114,10 +114,10 @@ const NotionQueryDatabase_RichTextObjectSchema = z.object({
114
114
  "equation"
115
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(),
117
+ equation: z.record(z.string(), z.unknown()).describe("Equation-specific content when type is 'equation'.").nullable().optional(),
118
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
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(),
@@ -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.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.object({\n type: z.string().describe(\"Always 'emoji'.\").nullable(),\n emoji: z.string().describe(\"The emoji character.\").nullable(),\n});\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});\nconst NotionQueryDatabase_CustomEmojiIconSchema = z.object({\n type: z.string().describe(\"Always 'custom_emoji'.\").nullable(),\n custom_emoji: NotionQueryDatabase_CustomEmojiDetailsSchema.nullable(),\n});\nconst NotionQueryDatabase_ExternalFileDetailsSchema = z.object({\n url: z.string().describe(\"Link to the externally hosted content.\").nullable(),\n});\nconst NotionQueryDatabase_ExternalIconSchema = z.object({\n type: z.string().describe(\"Always 'external'.\").nullable(),\n external: NotionQueryDatabase_ExternalFileDetailsSchema.nullable(),\n});\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});\nconst NotionQueryDatabase_NotionHostedFileIconSchema = z.object({\n file: NotionQueryDatabase_NotionHostedFileDetailsSchema.nullable(),\n type: z.string().describe(\"Always 'file'.\").nullable(),\n});\nconst NotionQueryDatabase_ExternalCoverSchema = z.object({\n type: z.string().describe(\"Always 'external'.\").nullable(),\n external: NotionQueryDatabase_ExternalFileDetailsSchema.nullable(),\n});\nconst NotionQueryDatabase_NotionHostedFileCoverSchema = z.object({\n file: NotionQueryDatabase_NotionHostedFileDetailsSchema.nullable(),\n type: z.string().describe(\"Always 'file'.\").nullable(),\n});\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});\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});\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});\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});\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});\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});\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.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.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});\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.object({}).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});\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.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.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,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,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,8Q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AAC,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,EA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