@keystrokehq/notion 0.1.2 → 0.1.4

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 (280) 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 +30 -16
  5. package/dist/actions/add-multiple-page-content.d.cts.map +1 -1
  6. package/dist/actions/add-multiple-page-content.d.mts +30 -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 +178 -148
  13. package/dist/actions/append-code-blocks.d.mts +178 -148
  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 +162 -140
  19. package/dist/actions/append-layout-blocks.d.mts +162 -140
  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 +228 -173
  25. package/dist/actions/append-media-blocks.d.mts +228 -173
  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 +154 -136
  31. package/dist/actions/append-table-blocks.d.mts +154 -136
  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 +180 -149
  37. package/dist/actions/append-task-blocks.d.mts +180 -149
  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 +214 -166
  43. package/dist/actions/append-text-blocks.d.mts +214 -166
  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 +33 -21
  49. package/dist/actions/archive-notion-page.d.mts +33 -21
  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 +21 -9
  53. package/dist/actions/create-comment.d.mts +21 -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 +39 -26
  57. package/dist/actions/create-database.d.mts +39 -26
  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 +14 -2
  63. package/dist/actions/create-file-upload.d.mts +14 -2
  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 +31 -19
  69. package/dist/actions/create-notion-page.d.mts +31 -19
  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 +345 -333
  75. package/dist/actions/delete-block.d.mts +345 -333
  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 +37 -25
  81. package/dist/actions/duplicate-page.d.mts +37 -25
  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 +17 -5
  87. package/dist/actions/fetch-all-block-contents.d.mts +17 -5
  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 +185 -173
  93. package/dist/actions/fetch-block-contents.d.mts +185 -173
  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 +304 -292
  99. package/dist/actions/fetch-block-metadata.d.mts +304 -292
  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 +42 -30
  105. package/dist/actions/fetch-comments.d.mts +42 -30
  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 +122 -110
  111. package/dist/actions/fetch-data.d.mts +122 -110
  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 +31 -19
  117. package/dist/actions/fetch-database.d.mts +31 -19
  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 +51 -39
  123. package/dist/actions/fetch-row.d.mts +51 -39
  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 +20 -8
  129. package/dist/actions/get-about-user.d.mts +20 -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 +14 -2
  135. package/dist/actions/get-page-markdown.d.mts +14 -2
  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/get-page-property-action.d.cts +13 -1
  139. package/dist/actions/get-page-property-action.d.mts +13 -1
  140. package/dist/actions/insert-row-database.cjs +22 -22
  141. package/dist/actions/insert-row-database.cjs.map +1 -1
  142. package/dist/actions/insert-row-database.d.cts +52 -38
  143. package/dist/actions/insert-row-database.d.mts +52 -38
  144. package/dist/actions/insert-row-database.mjs +22 -22
  145. package/dist/actions/insert-row-database.mjs.map +1 -1
  146. package/dist/actions/insert-row-from-nl.cjs +1 -1
  147. package/dist/actions/insert-row-from-nl.cjs.map +1 -1
  148. package/dist/actions/insert-row-from-nl.d.cts +14 -2
  149. package/dist/actions/insert-row-from-nl.d.mts +14 -2
  150. package/dist/actions/insert-row-from-nl.mjs +1 -1
  151. package/dist/actions/insert-row-from-nl.mjs.map +1 -1
  152. package/dist/actions/list-data-source-templates.cjs +2 -2
  153. package/dist/actions/list-data-source-templates.cjs.map +1 -1
  154. package/dist/actions/list-data-source-templates.d.cts +15 -3
  155. package/dist/actions/list-data-source-templates.d.mts +15 -3
  156. package/dist/actions/list-data-source-templates.mjs +2 -2
  157. package/dist/actions/list-data-source-templates.mjs.map +1 -1
  158. package/dist/actions/list-file-uploads.cjs +2 -2
  159. package/dist/actions/list-file-uploads.cjs.map +1 -1
  160. package/dist/actions/list-file-uploads.d.cts +15 -3
  161. package/dist/actions/list-file-uploads.d.mts +15 -3
  162. package/dist/actions/list-file-uploads.mjs +2 -2
  163. package/dist/actions/list-file-uploads.mjs.map +1 -1
  164. package/dist/actions/list-users.cjs +8 -8
  165. package/dist/actions/list-users.cjs.map +1 -1
  166. package/dist/actions/list-users.d.cts +22 -10
  167. package/dist/actions/list-users.d.mts +22 -10
  168. package/dist/actions/list-users.mjs +8 -8
  169. package/dist/actions/list-users.mjs.map +1 -1
  170. package/dist/actions/move-page.cjs +18 -18
  171. package/dist/actions/move-page.cjs.map +1 -1
  172. package/dist/actions/move-page.d.cts +36 -22
  173. package/dist/actions/move-page.d.mts +36 -22
  174. package/dist/actions/move-page.mjs +18 -18
  175. package/dist/actions/move-page.mjs.map +1 -1
  176. package/dist/actions/query-data-source.cjs +18 -18
  177. package/dist/actions/query-data-source.cjs.map +1 -1
  178. package/dist/actions/query-data-source.d.cts +42 -28
  179. package/dist/actions/query-data-source.d.cts.map +1 -1
  180. package/dist/actions/query-data-source.d.mts +42 -28
  181. package/dist/actions/query-data-source.d.mts.map +1 -1
  182. package/dist/actions/query-data-source.mjs +18 -18
  183. package/dist/actions/query-data-source.mjs.map +1 -1
  184. package/dist/actions/query-database-with-filter.cjs +25 -25
  185. package/dist/actions/query-database-with-filter.cjs.map +1 -1
  186. package/dist/actions/query-database-with-filter.d.cts +63 -49
  187. package/dist/actions/query-database-with-filter.d.cts.map +1 -1
  188. package/dist/actions/query-database-with-filter.d.mts +63 -49
  189. package/dist/actions/query-database-with-filter.d.mts.map +1 -1
  190. package/dist/actions/query-database-with-filter.mjs +25 -25
  191. package/dist/actions/query-database-with-filter.mjs.map +1 -1
  192. package/dist/actions/query-database.cjs +24 -24
  193. package/dist/actions/query-database.cjs.map +1 -1
  194. package/dist/actions/query-database.d.cts +62 -49
  195. package/dist/actions/query-database.d.mts +62 -49
  196. package/dist/actions/query-database.mjs +24 -24
  197. package/dist/actions/query-database.mjs.map +1 -1
  198. package/dist/actions/replace-page-content.cjs +130 -130
  199. package/dist/actions/replace-page-content.cjs.map +1 -1
  200. package/dist/actions/replace-page-content.d.cts +274 -132
  201. package/dist/actions/replace-page-content.d.mts +274 -132
  202. package/dist/actions/replace-page-content.mjs +130 -130
  203. package/dist/actions/replace-page-content.mjs.map +1 -1
  204. package/dist/actions/retrieve-comment.d.cts +13 -1
  205. package/dist/actions/retrieve-comment.d.mts +13 -1
  206. package/dist/actions/retrieve-database-property.cjs +25 -25
  207. package/dist/actions/retrieve-database-property.cjs.map +1 -1
  208. package/dist/actions/retrieve-database-property.d.cts +41 -29
  209. package/dist/actions/retrieve-database-property.d.mts +41 -29
  210. package/dist/actions/retrieve-database-property.mjs +25 -25
  211. package/dist/actions/retrieve-database-property.mjs.map +1 -1
  212. package/dist/actions/retrieve-file-upload.cjs +1 -1
  213. package/dist/actions/retrieve-file-upload.cjs.map +1 -1
  214. package/dist/actions/retrieve-file-upload.d.cts +14 -2
  215. package/dist/actions/retrieve-file-upload.d.mts +14 -2
  216. package/dist/actions/retrieve-file-upload.mjs +1 -1
  217. package/dist/actions/retrieve-file-upload.mjs.map +1 -1
  218. package/dist/actions/retrieve-page.cjs +23 -23
  219. package/dist/actions/retrieve-page.cjs.map +1 -1
  220. package/dist/actions/retrieve-page.d.cts +49 -37
  221. package/dist/actions/retrieve-page.d.mts +49 -37
  222. package/dist/actions/retrieve-page.mjs +23 -23
  223. package/dist/actions/retrieve-page.mjs.map +1 -1
  224. package/dist/actions/search-notion-page.cjs +34 -34
  225. package/dist/actions/search-notion-page.cjs.map +1 -1
  226. package/dist/actions/search-notion-page.d.cts +152 -140
  227. package/dist/actions/search-notion-page.d.mts +152 -140
  228. package/dist/actions/search-notion-page.mjs +34 -34
  229. package/dist/actions/search-notion-page.mjs.map +1 -1
  230. package/dist/actions/send-file-upload.cjs +1 -1
  231. package/dist/actions/send-file-upload.cjs.map +1 -1
  232. package/dist/actions/send-file-upload.d.cts +14 -2
  233. package/dist/actions/send-file-upload.d.mts +14 -2
  234. package/dist/actions/send-file-upload.mjs +1 -1
  235. package/dist/actions/send-file-upload.mjs.map +1 -1
  236. package/dist/actions/update-block.cjs +47 -47
  237. package/dist/actions/update-block.cjs.map +1 -1
  238. package/dist/actions/update-block.d.cts +154 -142
  239. package/dist/actions/update-block.d.cts.map +1 -1
  240. package/dist/actions/update-block.d.mts +154 -142
  241. package/dist/actions/update-block.d.mts.map +1 -1
  242. package/dist/actions/update-block.mjs +47 -47
  243. package/dist/actions/update-block.mjs.map +1 -1
  244. package/dist/actions/update-page.cjs +16 -16
  245. package/dist/actions/update-page.cjs.map +1 -1
  246. package/dist/actions/update-page.d.cts +36 -24
  247. package/dist/actions/update-page.d.mts +36 -24
  248. package/dist/actions/update-page.mjs +16 -16
  249. package/dist/actions/update-page.mjs.map +1 -1
  250. package/dist/actions/update-row-database.cjs +21 -21
  251. package/dist/actions/update-row-database.cjs.map +1 -1
  252. package/dist/actions/update-row-database.d.cts +42 -29
  253. package/dist/actions/update-row-database.d.mts +42 -29
  254. package/dist/actions/update-row-database.mjs +21 -21
  255. package/dist/actions/update-row-database.mjs.map +1 -1
  256. package/dist/actions/update-schema-database.cjs +8 -8
  257. package/dist/actions/update-schema-database.cjs.map +1 -1
  258. package/dist/actions/update-schema-database.d.cts +25 -12
  259. package/dist/actions/update-schema-database.d.mts +25 -12
  260. package/dist/actions/update-schema-database.mjs +8 -8
  261. package/dist/actions/update-schema-database.mjs.map +1 -1
  262. package/dist/actions/upsert-row-database.cjs +28 -28
  263. package/dist/actions/upsert-row-database.cjs.map +1 -1
  264. package/dist/actions/upsert-row-database.d.cts +67 -31
  265. package/dist/actions/upsert-row-database.d.mts +67 -31
  266. package/dist/actions/upsert-row-database.mjs +28 -28
  267. package/dist/actions/upsert-row-database.mjs.map +1 -1
  268. package/dist/app.cjs +5 -2
  269. package/dist/app.cjs.map +1 -1
  270. package/dist/app.d.cts +9 -1
  271. package/dist/app.d.cts.map +1 -1
  272. package/dist/app.d.mts +9 -1
  273. package/dist/app.d.mts.map +1 -1
  274. package/dist/app.mjs +3 -1
  275. package/dist/app.mjs.map +1 -1
  276. package/dist/execute.cjs +1 -1
  277. package/dist/execute.cjs.map +1 -1
  278. package/dist/execute.mjs +1 -1
  279. package/dist/execute.mjs.map +1 -1
  280. package/package.json +1 -1
@@ -32,9 +32,9 @@ const NotionAppendTextBlocksInput = zod.z.object({
32
32
  ]).default("default").describe("Color of the paragraph text or background.").optional(),
33
33
  rich_text: zod.z.array(zod.z.object({
34
34
  text: zod.z.object({
35
- link: zod.z.object({ url: zod.z.string().describe("The URL the text links to.") }).describe("Link object for hyperlinked text.").nullable().optional(),
35
+ link: zod.z.object({ url: zod.z.string().describe("The URL the text links to.") }).passthrough().describe("Link object for hyperlinked text.").nullable().optional(),
36
36
  content: zod.z.string().describe("The actual text content. CRITICAL: Maximum 2000 characters per text object.")
37
- }).describe("The text content object."),
37
+ }).passthrough().describe("The text content object."),
38
38
  type: zod.z.string().default("text").describe("Type of rich text. Currently only 'text' is supported for input.").optional(),
39
39
  annotations: zod.z.object({
40
40
  bold: zod.z.boolean().default(false).describe("Whether the text is bold.").optional(),
@@ -63,10 +63,10 @@ const NotionAppendTextBlocksInput = zod.z.object({
63
63
  italic: zod.z.boolean().default(false).describe("Whether the text is italic.").optional(),
64
64
  underline: zod.z.boolean().default(false).describe("Whether the text is underlined.").optional(),
65
65
  strikethrough: zod.z.boolean().default(false).describe("Whether the text has strikethrough.").optional()
66
- }).describe("Text styling annotations for rich text.").nullable().optional()
67
- }).describe("Rich text object for creating text content in blocks.")).describe("Array of rich text objects. Each text.content is limited to 2000 chars.")
68
- }).describe("Paragraph content.")
69
- }).describe("A paragraph block object."),
66
+ }).passthrough().describe("Text styling annotations for rich text.").nullable().optional()
67
+ }).passthrough().describe("Rich text object for creating text content in blocks.")).describe("Array of rich text objects. Each text.content is limited to 2000 chars.")
68
+ }).passthrough().describe("Paragraph content.")
69
+ }).passthrough().describe("A paragraph block object."),
70
70
  zod.z.object({
71
71
  type: zod.z.string().default("heading_1").describe("Block type.").optional(),
72
72
  object: zod.z.string().default("block").describe("Always 'block'.").optional(),
@@ -94,9 +94,9 @@ const NotionAppendTextBlocksInput = zod.z.object({
94
94
  ]).default("default").describe("Color of the heading.").optional(),
95
95
  rich_text: zod.z.array(zod.z.object({
96
96
  text: zod.z.object({
97
- link: zod.z.object({ url: zod.z.string().describe("The URL the text links to.") }).describe("Link object for hyperlinked text.").nullable().optional(),
97
+ link: zod.z.object({ url: zod.z.string().describe("The URL the text links to.") }).passthrough().describe("Link object for hyperlinked text.").nullable().optional(),
98
98
  content: zod.z.string().describe("The actual text content. CRITICAL: Maximum 2000 characters per text object.")
99
- }).describe("The text content object."),
99
+ }).passthrough().describe("The text content object."),
100
100
  type: zod.z.string().default("text").describe("Type of rich text. Currently only 'text' is supported for input.").optional(),
101
101
  annotations: zod.z.object({
102
102
  bold: zod.z.boolean().default(false).describe("Whether the text is bold.").optional(),
@@ -125,11 +125,11 @@ const NotionAppendTextBlocksInput = zod.z.object({
125
125
  italic: zod.z.boolean().default(false).describe("Whether the text is italic.").optional(),
126
126
  underline: zod.z.boolean().default(false).describe("Whether the text is underlined.").optional(),
127
127
  strikethrough: zod.z.boolean().default(false).describe("Whether the text has strikethrough.").optional()
128
- }).describe("Text styling annotations for rich text.").nullable().optional()
129
- }).describe("Rich text object for creating text content in blocks.")).describe("Array of rich text objects for the heading text."),
128
+ }).passthrough().describe("Text styling annotations for rich text.").nullable().optional()
129
+ }).passthrough().describe("Rich text object for creating text content in blocks.")).describe("Array of rich text objects for the heading text."),
130
130
  is_toggleable: zod.z.boolean().default(false).describe("Whether the heading can be toggled to show/hide content.").optional()
131
- }).describe("Heading 1 content.")
132
- }).describe("A heading 1 block object (largest heading)."),
131
+ }).passthrough().describe("Heading 1 content.")
132
+ }).passthrough().describe("A heading 1 block object (largest heading)."),
133
133
  zod.z.object({
134
134
  type: zod.z.string().default("heading_2").describe("Block type.").optional(),
135
135
  object: zod.z.string().default("block").describe("Always 'block'.").optional(),
@@ -157,9 +157,9 @@ const NotionAppendTextBlocksInput = zod.z.object({
157
157
  ]).default("default").describe("Color of the heading.").optional(),
158
158
  rich_text: zod.z.array(zod.z.object({
159
159
  text: zod.z.object({
160
- link: zod.z.object({ url: zod.z.string().describe("The URL the text links to.") }).describe("Link object for hyperlinked text.").nullable().optional(),
160
+ link: zod.z.object({ url: zod.z.string().describe("The URL the text links to.") }).passthrough().describe("Link object for hyperlinked text.").nullable().optional(),
161
161
  content: zod.z.string().describe("The actual text content. CRITICAL: Maximum 2000 characters per text object.")
162
- }).describe("The text content object."),
162
+ }).passthrough().describe("The text content object."),
163
163
  type: zod.z.string().default("text").describe("Type of rich text. Currently only 'text' is supported for input.").optional(),
164
164
  annotations: zod.z.object({
165
165
  bold: zod.z.boolean().default(false).describe("Whether the text is bold.").optional(),
@@ -188,11 +188,11 @@ const NotionAppendTextBlocksInput = zod.z.object({
188
188
  italic: zod.z.boolean().default(false).describe("Whether the text is italic.").optional(),
189
189
  underline: zod.z.boolean().default(false).describe("Whether the text is underlined.").optional(),
190
190
  strikethrough: zod.z.boolean().default(false).describe("Whether the text has strikethrough.").optional()
191
- }).describe("Text styling annotations for rich text.").nullable().optional()
192
- }).describe("Rich text object for creating text content in blocks.")).describe("Array of rich text objects for the heading text."),
191
+ }).passthrough().describe("Text styling annotations for rich text.").nullable().optional()
192
+ }).passthrough().describe("Rich text object for creating text content in blocks.")).describe("Array of rich text objects for the heading text."),
193
193
  is_toggleable: zod.z.boolean().default(false).describe("Whether the heading can be toggled to show/hide content.").optional()
194
- }).describe("Heading 2 content.")
195
- }).describe("A heading 2 block object (medium heading)."),
194
+ }).passthrough().describe("Heading 2 content.")
195
+ }).passthrough().describe("A heading 2 block object (medium heading)."),
196
196
  zod.z.object({
197
197
  type: zod.z.string().default("heading_3").describe("Block type.").optional(),
198
198
  object: zod.z.string().default("block").describe("Always 'block'.").optional(),
@@ -220,9 +220,9 @@ const NotionAppendTextBlocksInput = zod.z.object({
220
220
  ]).default("default").describe("Color of the heading.").optional(),
221
221
  rich_text: zod.z.array(zod.z.object({
222
222
  text: zod.z.object({
223
- link: zod.z.object({ url: zod.z.string().describe("The URL the text links to.") }).describe("Link object for hyperlinked text.").nullable().optional(),
223
+ link: zod.z.object({ url: zod.z.string().describe("The URL the text links to.") }).passthrough().describe("Link object for hyperlinked text.").nullable().optional(),
224
224
  content: zod.z.string().describe("The actual text content. CRITICAL: Maximum 2000 characters per text object.")
225
- }).describe("The text content object."),
225
+ }).passthrough().describe("The text content object."),
226
226
  type: zod.z.string().default("text").describe("Type of rich text. Currently only 'text' is supported for input.").optional(),
227
227
  annotations: zod.z.object({
228
228
  bold: zod.z.boolean().default(false).describe("Whether the text is bold.").optional(),
@@ -251,11 +251,11 @@ const NotionAppendTextBlocksInput = zod.z.object({
251
251
  italic: zod.z.boolean().default(false).describe("Whether the text is italic.").optional(),
252
252
  underline: zod.z.boolean().default(false).describe("Whether the text is underlined.").optional(),
253
253
  strikethrough: zod.z.boolean().default(false).describe("Whether the text has strikethrough.").optional()
254
- }).describe("Text styling annotations for rich text.").nullable().optional()
255
- }).describe("Rich text object for creating text content in blocks.")).describe("Array of rich text objects for the heading text."),
254
+ }).passthrough().describe("Text styling annotations for rich text.").nullable().optional()
255
+ }).passthrough().describe("Rich text object for creating text content in blocks.")).describe("Array of rich text objects for the heading text."),
256
256
  is_toggleable: zod.z.boolean().default(false).describe("Whether the heading can be toggled to show/hide content.").optional()
257
- }).describe("Heading 3 content.")
258
- }).describe("A heading 3 block object (smallest heading)."),
257
+ }).passthrough().describe("Heading 3 content.")
258
+ }).passthrough().describe("A heading 3 block object (smallest heading)."),
259
259
  zod.z.object({
260
260
  type: zod.z.string().default("bulleted_list_item").describe("Block type.").optional(),
261
261
  object: zod.z.string().default("block").describe("Always 'block'.").optional(),
@@ -283,9 +283,9 @@ const NotionAppendTextBlocksInput = zod.z.object({
283
283
  ]).default("default").describe("Color of the list item.").optional(),
284
284
  rich_text: zod.z.array(zod.z.object({
285
285
  text: zod.z.object({
286
- link: zod.z.object({ url: zod.z.string().describe("The URL the text links to.") }).describe("Link object for hyperlinked text.").nullable().optional(),
286
+ link: zod.z.object({ url: zod.z.string().describe("The URL the text links to.") }).passthrough().describe("Link object for hyperlinked text.").nullable().optional(),
287
287
  content: zod.z.string().describe("The actual text content. CRITICAL: Maximum 2000 characters per text object.")
288
- }).describe("The text content object."),
288
+ }).passthrough().describe("The text content object."),
289
289
  type: zod.z.string().default("text").describe("Type of rich text. Currently only 'text' is supported for input.").optional(),
290
290
  annotations: zod.z.object({
291
291
  bold: zod.z.boolean().default(false).describe("Whether the text is bold.").optional(),
@@ -314,10 +314,10 @@ const NotionAppendTextBlocksInput = zod.z.object({
314
314
  italic: zod.z.boolean().default(false).describe("Whether the text is italic.").optional(),
315
315
  underline: zod.z.boolean().default(false).describe("Whether the text is underlined.").optional(),
316
316
  strikethrough: zod.z.boolean().default(false).describe("Whether the text has strikethrough.").optional()
317
- }).describe("Text styling annotations for rich text.").nullable().optional()
318
- }).describe("Rich text object for creating text content in blocks.")).describe("Array of rich text objects for the list item text.")
319
- }).describe("Bulleted list item content.")
320
- }).describe("A bulleted list item block object."),
317
+ }).passthrough().describe("Text styling annotations for rich text.").nullable().optional()
318
+ }).passthrough().describe("Rich text object for creating text content in blocks.")).describe("Array of rich text objects for the list item text.")
319
+ }).passthrough().describe("Bulleted list item content.")
320
+ }).passthrough().describe("A bulleted list item block object."),
321
321
  zod.z.object({
322
322
  type: zod.z.string().default("numbered_list_item").describe("Block type.").optional(),
323
323
  object: zod.z.string().default("block").describe("Always 'block'.").optional(),
@@ -345,9 +345,9 @@ const NotionAppendTextBlocksInput = zod.z.object({
345
345
  ]).default("default").describe("Color of the list item.").optional(),
346
346
  rich_text: zod.z.array(zod.z.object({
347
347
  text: zod.z.object({
348
- link: zod.z.object({ url: zod.z.string().describe("The URL the text links to.") }).describe("Link object for hyperlinked text.").nullable().optional(),
348
+ link: zod.z.object({ url: zod.z.string().describe("The URL the text links to.") }).passthrough().describe("Link object for hyperlinked text.").nullable().optional(),
349
349
  content: zod.z.string().describe("The actual text content. CRITICAL: Maximum 2000 characters per text object.")
350
- }).describe("The text content object."),
350
+ }).passthrough().describe("The text content object."),
351
351
  type: zod.z.string().default("text").describe("Type of rich text. Currently only 'text' is supported for input.").optional(),
352
352
  annotations: zod.z.object({
353
353
  bold: zod.z.boolean().default(false).describe("Whether the text is bold.").optional(),
@@ -376,22 +376,22 @@ const NotionAppendTextBlocksInput = zod.z.object({
376
376
  italic: zod.z.boolean().default(false).describe("Whether the text is italic.").optional(),
377
377
  underline: zod.z.boolean().default(false).describe("Whether the text is underlined.").optional(),
378
378
  strikethrough: zod.z.boolean().default(false).describe("Whether the text has strikethrough.").optional()
379
- }).describe("Text styling annotations for rich text.").nullable().optional()
380
- }).describe("Rich text object for creating text content in blocks.")).describe("Array of rich text objects for the list item text.")
381
- }).describe("Numbered list item content.")
382
- }).describe("A numbered list item block object.")
379
+ }).passthrough().describe("Text styling annotations for rich text.").nullable().optional()
380
+ }).passthrough().describe("Rich text object for creating text content in blocks.")).describe("Array of rich text objects for the list item text.")
381
+ }).passthrough().describe("Numbered list item content.")
382
+ }).passthrough().describe("A numbered list item block object.")
383
383
  ])).describe("Array of text block objects to append (also accepts 'blocks' as parameter name). Supported types:\n- paragraph: Regular text paragraph\n- heading_1, heading_2, heading_3: Section headings\n- bulleted_list_item: Bullet point\n- numbered_list_item: Numbered list item\n\n⚠️ Text content limited to 2000 characters per rich_text text.content field.\nMax 100 blocks per request.")
384
384
  }).describe("Request model for appending text blocks to a Notion page.");
385
- const NotionAppendTextBlocks_EmptyBlockObjectSchema = zod.z.object({}).describe("Empty object for the 'block' field in list responses.\n\nThe Notion API returns an empty object {} for this field.");
385
+ const NotionAppendTextBlocks_EmptyBlockObjectSchema = zod.z.record(zod.z.string(), zod.z.unknown()).describe("Empty object for the 'block' field in list responses.\n\nThe Notion API returns an empty object {} for this field.");
386
386
  const NotionAppendTextBlocks_NotionHostedFileResponseSchema = zod.z.object({
387
387
  url: zod.z.string().describe("Temporary URL for the file.").nullable(),
388
388
  expiry_time: zod.z.string().describe("ISO 8601 timestamp when the URL expires.").nullable()
389
- }).describe("Notion-hosted file in API responses.");
390
- const NotionAppendTextBlocks_TextLinkSchema = zod.z.object({ url: zod.z.string().describe("The URL the text links to.").nullable() }).describe("Link object for hyperlinked text.");
389
+ }).passthrough().describe("Notion-hosted file in API responses.");
390
+ const NotionAppendTextBlocks_TextLinkSchema = zod.z.object({ url: zod.z.string().describe("The URL the text links to.").nullable() }).passthrough().describe("Link object for hyperlinked text.");
391
391
  const NotionAppendTextBlocks_RichTextTextContentSchema = zod.z.object({
392
392
  link: NotionAppendTextBlocks_TextLinkSchema.nullable().optional(),
393
393
  content: zod.z.string().describe("The actual text content.").nullable()
394
- }).describe("Text content object in rich text responses.");
394
+ }).passthrough().describe("Text content object in rich text responses.");
395
395
  const NotionAppendTextBlocks_RichTextAnnotationsResponseSchema = zod.z.object({
396
396
  bold: zod.z.boolean().describe("Whether the text is bold.").nullable(),
397
397
  code: zod.z.boolean().describe("Whether the text is inline code.").nullable(),
@@ -399,70 +399,70 @@ const NotionAppendTextBlocks_RichTextAnnotationsResponseSchema = zod.z.object({
399
399
  italic: zod.z.boolean().describe("Whether the text is italic.").nullable(),
400
400
  underline: zod.z.boolean().describe("Whether the text is underlined.").nullable(),
401
401
  strikethrough: zod.z.boolean().describe("Whether the text has strikethrough.").nullable()
402
- }).describe("Text styling annotations returned in API responses.");
402
+ }).passthrough().describe("Text styling annotations returned in API responses.");
403
403
  const NotionAppendTextBlocks_RichTextResponseSchema = zod.z.object({
404
404
  href: zod.z.string().describe("URL if the text is a link.").nullable().optional(),
405
405
  text: NotionAppendTextBlocks_RichTextTextContentSchema.nullable().optional(),
406
406
  type: zod.z.string().describe("Type of rich text (text, mention, equation).").nullable(),
407
407
  plain_text: zod.z.string().describe("Plain text without formatting.").nullable(),
408
408
  annotations: NotionAppendTextBlocks_RichTextAnnotationsResponseSchema.nullable()
409
- }).describe("Rich text object returned in API responses.");
410
- const NotionAppendTextBlocks_ExternalFileResponseSchema = zod.z.object({ url: zod.z.string().describe("URL of the external file.").nullable() }).describe("External file URL in API responses.");
409
+ }).passthrough().describe("Rich text object returned in API responses.");
410
+ const NotionAppendTextBlocks_ExternalFileResponseSchema = zod.z.object({ url: zod.z.string().describe("URL of the external file.").nullable() }).passthrough().describe("External file URL in API responses.");
411
411
  const NotionAppendTextBlocks_PdfBlockContentSchema = zod.z.object({
412
412
  file: NotionAppendTextBlocks_NotionHostedFileResponseSchema.nullable().optional(),
413
413
  type: zod.z.string().describe("PDF source type (external, file).").nullable(),
414
414
  caption: zod.z.array(NotionAppendTextBlocks_RichTextResponseSchema).describe("PDF caption as rich text.").nullable().optional(),
415
415
  external: NotionAppendTextBlocks_ExternalFileResponseSchema.nullable().optional()
416
- }).describe("Content of a PDF block in API responses.");
416
+ }).passthrough().describe("Content of a PDF block in API responses.");
417
417
  const NotionAppendTextBlocks_CodeBlockContentSchema = zod.z.object({
418
418
  caption: zod.z.array(NotionAppendTextBlocks_RichTextResponseSchema).describe("Code block caption.").nullable().optional(),
419
419
  language: zod.z.string().describe("Programming language of the code.").nullable(),
420
420
  rich_text: zod.z.array(NotionAppendTextBlocks_RichTextResponseSchema).describe("Rich text content of the code.")
421
- }).describe("Content of a code block in API responses.");
421
+ }).passthrough().describe("Content of a code block in API responses.");
422
422
  const NotionAppendTextBlocks_FileBlockContentSchema = zod.z.object({
423
423
  file: NotionAppendTextBlocks_NotionHostedFileResponseSchema.nullable().optional(),
424
424
  name: zod.z.string().describe("Name of the file.").nullable().optional(),
425
425
  type: zod.z.string().describe("File source type (external, file).").nullable(),
426
426
  caption: zod.z.array(NotionAppendTextBlocks_RichTextResponseSchema).describe("File caption as rich text.").nullable().optional(),
427
427
  external: NotionAppendTextBlocks_ExternalFileResponseSchema.nullable().optional()
428
- }).describe("Content of a file block in API responses.");
428
+ }).passthrough().describe("Content of a file block in API responses.");
429
429
  const NotionAppendTextBlocks_AudioBlockContentSchema = zod.z.object({
430
430
  file: NotionAppendTextBlocks_NotionHostedFileResponseSchema.nullable().optional(),
431
431
  type: zod.z.string().describe("Audio source type (external, file).").nullable(),
432
432
  caption: zod.z.array(NotionAppendTextBlocks_RichTextResponseSchema).describe("Audio caption as rich text.").nullable().optional(),
433
433
  external: NotionAppendTextBlocks_ExternalFileResponseSchema.nullable().optional()
434
- }).describe("Content of an audio block in API responses.");
434
+ }).passthrough().describe("Content of an audio block in API responses.");
435
435
  const NotionAppendTextBlocks_EmbedBlockContentSchema = zod.z.object({
436
436
  url: zod.z.string().describe("URL of the embedded content.").nullable(),
437
437
  caption: zod.z.array(NotionAppendTextBlocks_RichTextResponseSchema).describe("Embed caption as rich text.").nullable().optional()
438
- }).describe("Content of an embed block in API responses.");
438
+ }).passthrough().describe("Content of an embed block in API responses.");
439
439
  const NotionAppendTextBlocks_ImageBlockContentSchema = zod.z.object({
440
440
  file: NotionAppendTextBlocks_NotionHostedFileResponseSchema.nullable().optional(),
441
441
  type: zod.z.string().describe("Image source type (external, file).").nullable(),
442
442
  caption: zod.z.array(NotionAppendTextBlocks_RichTextResponseSchema).describe("Image caption as rich text.").nullable().optional(),
443
443
  external: NotionAppendTextBlocks_ExternalFileResponseSchema.nullable().optional()
444
- }).describe("Content of an image block in API responses.");
444
+ }).passthrough().describe("Content of an image block in API responses.");
445
445
  const NotionAppendTextBlocks_QuoteBlockContentSchema = zod.z.object({
446
446
  color: zod.z.string().default("default").describe("Color of the quote.").nullable().optional(),
447
447
  rich_text: zod.z.array(NotionAppendTextBlocks_RichTextResponseSchema).describe("Rich text content of the quote.")
448
- }).describe("Content of a quote block in API responses.");
448
+ }).passthrough().describe("Content of a quote block in API responses.");
449
449
  const NotionAppendTextBlocks_TableBlockContentSchema = zod.z.object({
450
450
  table_width: zod.z.number().int().describe("Number of columns in the table.").nullable(),
451
451
  has_row_header: zod.z.boolean().describe("Whether the first column is a header.").nullable(),
452
452
  has_column_header: zod.z.boolean().describe("Whether the first row is a header.").nullable()
453
- }).describe("Content of a table block in API responses.");
453
+ }).passthrough().describe("Content of a table block in API responses.");
454
454
  const NotionAppendTextBlocks_ToDoBlockContentSchema = zod.z.object({
455
455
  color: zod.z.string().default("default").describe("Color of the to-do item.").nullable().optional(),
456
456
  checked: zod.z.boolean().default(false).describe("Whether the to-do is checked.").nullable().optional(),
457
457
  rich_text: zod.z.array(NotionAppendTextBlocks_RichTextResponseSchema).describe("Rich text content of the to-do item.")
458
- }).describe("Content of a to-do block in API responses.");
458
+ }).passthrough().describe("Content of a to-do block in API responses.");
459
459
  const NotionAppendTextBlocks_VideoBlockContentSchema = zod.z.object({
460
460
  file: NotionAppendTextBlocks_NotionHostedFileResponseSchema.nullable().optional(),
461
461
  type: zod.z.string().describe("Video source type (external, file).").nullable(),
462
462
  caption: zod.z.array(NotionAppendTextBlocks_RichTextResponseSchema).describe("Video caption as rich text.").nullable().optional(),
463
463
  external: NotionAppendTextBlocks_ExternalFileResponseSchema.nullable().optional()
464
- }).describe("Content of a video block in API responses.");
465
- const NotionAppendTextBlocks_ColumnBlockContentSchema = zod.z.object({}).describe("Content of a column block (empty object).");
464
+ }).passthrough().describe("Content of a video block in API responses.");
465
+ const NotionAppendTextBlocks_ColumnBlockContentSchema = zod.z.record(zod.z.string(), zod.z.unknown()).describe("Content of a column block (empty object).");
466
466
  const NotionAppendTextBlocks_BlockParentSchema = zod.z.object({
467
467
  type: zod.z.enum([
468
468
  "page_id",
@@ -472,37 +472,37 @@ const NotionAppendTextBlocks_BlockParentSchema = zod.z.object({
472
472
  page_id: zod.z.string().describe("UUID of the parent page (when type is 'page_id').").nullable().optional(),
473
473
  block_id: zod.z.string().describe("UUID of the parent block (when type is 'block_id').").nullable().optional(),
474
474
  data_source_id: zod.z.string().describe("UUID of the parent data source (when type is 'data_source_id').").nullable().optional()
475
- }).describe("Information about a block's parent.");
475
+ }).passthrough().describe("Information about a block's parent.");
476
476
  const NotionAppendTextBlocks_ToggleBlockContentSchema = zod.z.object({
477
477
  color: zod.z.string().default("default").describe("Color of the toggle.").nullable().optional(),
478
478
  rich_text: zod.z.array(NotionAppendTextBlocks_RichTextResponseSchema).describe("Rich text content of the toggle.")
479
- }).describe("Content of a toggle block in API responses.");
479
+ }).passthrough().describe("Content of a toggle block in API responses.");
480
480
  const NotionAppendTextBlocks_IconEmojiResponseSchema = zod.z.object({
481
481
  type: zod.z.string().describe("Icon type, always 'emoji'.").nullable(),
482
482
  emoji: zod.z.string().describe("Emoji character for the icon.").nullable()
483
- }).describe("Emoji icon in API response.");
483
+ }).passthrough().describe("Emoji icon in API response.");
484
484
  const NotionAppendTextBlocks_CustomEmojiObjectSchema = zod.z.object({
485
485
  id: zod.z.string().describe("Unique identifier for the custom emoji.").nullable(),
486
486
  url: zod.z.string().describe("HTTPS URL pointing to the custom emoji image.").nullable(),
487
487
  name: zod.z.string().describe("Display name of the custom emoji.").nullable()
488
- }).describe("Custom emoji object in API response.");
488
+ }).passthrough().describe("Custom emoji object in API response.");
489
489
  const NotionAppendTextBlocks_IconCustomEmojiResponseSchema = zod.z.object({
490
490
  type: zod.z.string().describe("Icon type, always 'custom_emoji'.").nullable(),
491
491
  custom_emoji: NotionAppendTextBlocks_CustomEmojiObjectSchema.nullable()
492
- }).describe("Custom emoji icon in API response.");
493
- const NotionAppendTextBlocks_ExternalFileObjectSchema = zod.z.object({ url: zod.z.string().describe("URL of the external file.").nullable() }).describe("External file URL object in API response.");
492
+ }).passthrough().describe("Custom emoji icon in API response.");
493
+ const NotionAppendTextBlocks_ExternalFileObjectSchema = zod.z.object({ url: zod.z.string().describe("URL of the external file.").nullable() }).passthrough().describe("External file URL object in API response.");
494
494
  const NotionAppendTextBlocks_IconExternalResponseSchema = zod.z.object({
495
495
  type: zod.z.string().describe("Icon type, always 'external'.").nullable(),
496
496
  external: NotionAppendTextBlocks_ExternalFileObjectSchema.nullable()
497
- }).describe("External file icon in API response.");
497
+ }).passthrough().describe("External file icon in API response.");
498
498
  const NotionAppendTextBlocks_NotionFileObjectSchema = zod.z.object({
499
499
  url: zod.z.string().describe("Authenticated S3 URL to the file.").nullable(),
500
500
  expiry_time: zod.z.string().describe("ISO 8601 timestamp when the URL expires.").nullable().optional()
501
- }).describe("Notion-hosted file object in API response.");
501
+ }).passthrough().describe("Notion-hosted file object in API response.");
502
502
  const NotionAppendTextBlocks_IconFileResponseSchema = zod.z.object({
503
503
  file: NotionAppendTextBlocks_NotionFileObjectSchema.nullable(),
504
504
  type: zod.z.string().describe("Icon type, always 'file'.").nullable()
505
- }).describe("Notion-hosted file icon in API response.");
505
+ }).passthrough().describe("Notion-hosted file icon in API response.");
506
506
  const NotionAppendTextBlocks_CalloutBlockContentSchema = zod.z.object({
507
507
  icon: zod.z.union([
508
508
  NotionAppendTextBlocks_IconEmojiResponseSchema,
@@ -512,38 +512,38 @@ const NotionAppendTextBlocks_CalloutBlockContentSchema = zod.z.object({
512
512
  ]).nullable().optional(),
513
513
  color: zod.z.string().default("default").describe("Color of the callout.").nullable().optional(),
514
514
  rich_text: zod.z.array(NotionAppendTextBlocks_RichTextResponseSchema).describe("Rich text content of the callout.")
515
- }).describe("Content of a callout block in API responses.");
516
- const NotionAppendTextBlocks_DividerBlockContentSchema = zod.z.object({}).describe("Content of a divider block (empty object).");
515
+ }).passthrough().describe("Content of a callout block in API responses.");
516
+ const NotionAppendTextBlocks_DividerBlockContentSchema = zod.z.record(zod.z.string(), zod.z.unknown()).describe("Content of a divider block (empty object).");
517
517
  const NotionAppendTextBlocks_BookmarkBlockContentSchema = zod.z.object({
518
518
  url: zod.z.string().describe("URL of the bookmarked page.").nullable(),
519
519
  caption: zod.z.array(NotionAppendTextBlocks_RichTextResponseSchema).describe("Bookmark caption as rich text.").nullable().optional()
520
- }).describe("Content of a bookmark block in API responses.");
521
- const NotionAppendTextBlocks_EquationBlockContentSchema = zod.z.object({ expression: zod.z.string().describe("LaTeX expression for the equation.").nullable() }).describe("Content of an equation block in API responses.");
520
+ }).passthrough().describe("Content of a bookmark block in API responses.");
521
+ const NotionAppendTextBlocks_EquationBlockContentSchema = zod.z.object({ expression: zod.z.string().describe("LaTeX expression for the equation.").nullable() }).passthrough().describe("Content of an equation block in API responses.");
522
522
  const NotionAppendTextBlocks_HeadingBlockContentSchema = zod.z.object({
523
523
  color: zod.z.string().default("default").describe("Color of the heading.").nullable().optional(),
524
524
  rich_text: zod.z.array(NotionAppendTextBlocks_RichTextResponseSchema).describe("Rich text content of the heading."),
525
525
  is_toggleable: zod.z.boolean().default(false).describe("Whether the heading is toggleable.").nullable().optional()
526
- }).describe("Content of a heading block in API responses.");
526
+ }).passthrough().describe("Content of a heading block in API responses.");
527
527
  const NotionAppendTextBlocks_ParagraphBlockContentSchema = zod.z.object({
528
528
  color: zod.z.string().default("default").describe("Color of the paragraph.").nullable().optional(),
529
529
  rich_text: zod.z.array(NotionAppendTextBlocks_RichTextResponseSchema).describe("Rich text content of the paragraph.")
530
- }).describe("Content of a paragraph block in API responses.");
531
- const NotionAppendTextBlocks_TableRowBlockContentSchema = zod.z.object({ cells: zod.z.array(zod.z.array(NotionAppendTextBlocks_RichTextResponseSchema)).describe("Array of cell contents (each cell is an array of rich text).") }).describe("Content of a table row block in API responses.");
532
- const NotionAppendTextBlocks_BreadcrumbBlockContentSchema = zod.z.object({}).describe("Content of a breadcrumb block (empty object).");
530
+ }).passthrough().describe("Content of a paragraph block in API responses.");
531
+ const NotionAppendTextBlocks_TableRowBlockContentSchema = zod.z.object({ cells: zod.z.array(zod.z.array(NotionAppendTextBlocks_RichTextResponseSchema)).describe("Array of cell contents (each cell is an array of rich text).") }).passthrough().describe("Content of a table row block in API responses.");
532
+ const NotionAppendTextBlocks_BreadcrumbBlockContentSchema = zod.z.record(zod.z.string(), zod.z.unknown()).describe("Content of a breadcrumb block (empty object).");
533
533
  const NotionAppendTextBlocks_PartialUserSchema = zod.z.object({
534
534
  id: zod.z.string().describe("Unique identifier for the user (UUID format).").nullable(),
535
535
  object: zod.z.string().describe("Always 'user'.").nullable()
536
- }).describe("Partial user object representing a Notion user.");
537
- const NotionAppendTextBlocks_ColumnListBlockContentSchema = zod.z.object({}).describe("Content of a column list block (empty object).");
538
- const NotionAppendTextBlocks_TableOfContentsBlockContentSchema = zod.z.object({ color: zod.z.string().default("default").describe("Color of the table of contents.").nullable().optional() }).describe("Content of a table of contents block in API responses.");
536
+ }).passthrough().describe("Partial user object representing a Notion user.");
537
+ const NotionAppendTextBlocks_ColumnListBlockContentSchema = zod.z.record(zod.z.string(), zod.z.unknown()).describe("Content of a column list block (empty object).");
538
+ const NotionAppendTextBlocks_TableOfContentsBlockContentSchema = zod.z.object({ color: zod.z.string().default("default").describe("Color of the table of contents.").nullable().optional() }).passthrough().describe("Content of a table of contents block in API responses.");
539
539
  const NotionAppendTextBlocks_BulletedListItemBlockContentSchema = zod.z.object({
540
540
  color: zod.z.string().default("default").describe("Color of the list item.").nullable().optional(),
541
541
  rich_text: zod.z.array(NotionAppendTextBlocks_RichTextResponseSchema).describe("Rich text content of the list item.")
542
- }).describe("Content of a bulleted list item block in API responses.");
542
+ }).passthrough().describe("Content of a bulleted list item block in API responses.");
543
543
  const NotionAppendTextBlocks_NumberedListItemBlockContentSchema = zod.z.object({
544
544
  color: zod.z.string().default("default").describe("Color of the list item.").nullable().optional(),
545
545
  rich_text: zod.z.array(NotionAppendTextBlocks_RichTextResponseSchema).describe("Rich text content of the list item.")
546
- }).describe("Content of a numbered list item block in API responses.");
546
+ }).passthrough().describe("Content of a numbered list item block in API responses.");
547
547
  const NotionAppendTextBlocks_BlockSchema = zod.z.object({
548
548
  id: zod.z.string().describe("Unique identifier for the block (UUID v4 format).").nullable(),
549
549
  pdf: NotionAppendTextBlocks_PdfBlockContentSchema.nullable().optional(),
@@ -582,7 +582,7 @@ const NotionAppendTextBlocks_BlockSchema = zod.z.object({
582
582
  table_of_contents: NotionAppendTextBlocks_TableOfContentsBlockContentSchema.nullable().optional(),
583
583
  bulleted_list_item: NotionAppendTextBlocks_BulletedListItemBlockContentSchema.nullable().optional(),
584
584
  numbered_list_item: NotionAppendTextBlocks_NumberedListItemBlockContentSchema.nullable().optional()
585
- }).describe("Notion block object returned in the results array.\n\nContains common block metadata and type-specific content fields.\nOnly one of the block type content fields will be populated based on the 'type' field.");
585
+ }).passthrough().describe("Notion block object returned in the results array.\n\nContains common block metadata and type-specific content fields.\nOnly one of the block type content fields will be populated based on the 'type' field.");
586
586
  const NotionAppendTextBlocksOutput = zod.z.object({
587
587
  type: zod.z.string().describe("The type of items in the results array. Always 'block'.").nullable(),
588
588
  block: NotionAppendTextBlocks_EmptyBlockObjectSchema.nullable(),
@@ -590,7 +590,7 @@ const NotionAppendTextBlocksOutput = zod.z.object({
590
590
  results: zod.z.array(NotionAppendTextBlocks_BlockSchema).describe("Array of newly created block objects that were appended as children."),
591
591
  has_more: zod.z.boolean().describe("Whether there are more results available beyond this page.").nullable(),
592
592
  next_cursor: zod.z.string().describe("Cursor for pagination. Null if there are no more results.").nullable().optional()
593
- }).describe("Standard response model for all append block actions.");
593
+ }).passthrough().describe("Standard response model for all append block actions.");
594
594
  const notionAppendTextBlocks = require_action.action("NOTION_APPEND_TEXT_BLOCKS", {
595
595
  slug: "notion-append-text-blocks",
596
596
  name: "Append text blocks (paragraphs, headings, lists)",