@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
@@ -10,7 +10,7 @@ const NotionListDataSourceTemplates_TemplateSchema = z.object({
10
10
  id: z.string().describe("Unique identifier for the template (UUIDv4 format). Templates are also valid Notion pages and can be retrieved using the Retrieve a page API.").nullable(),
11
11
  name: z.string().describe("Display name of the template as shown in the Notion UI.").nullable(),
12
12
  is_default: z.boolean().describe("Indicates whether this template is the default template for the data source. When set to true, this template is automatically applied when creating new pages without specifying a template.").nullable()
13
- }).describe("A Notion data source template object.");
13
+ }).passthrough().describe("A Notion data source template object.");
14
14
  const notionListDataSourceTemplates = action("NOTION_LIST_DATA_SOURCE_TEMPLATES", {
15
15
  slug: "notion-list-data-source-templates",
16
16
  name: "List data source templates",
@@ -20,7 +20,7 @@ const notionListDataSourceTemplates = action("NOTION_LIST_DATA_SOURCE_TEMPLATES"
20
20
  has_more: z.boolean().describe("Indicates whether additional templates exist beyond the current page of results. When true, use next_cursor to retrieve the next page.").nullable(),
21
21
  templates: z.array(NotionListDataSourceTemplates_TemplateSchema).describe("Collection of template objects available for the data source. Contains up to 100 templates per response."),
22
22
  next_cursor: z.string().describe("Cursor ID for retrieving the next page of results. Only present when has_more is true. Use this value as the start_cursor parameter in the next API request to retrieve additional templates.").nullable().optional()
23
- }).describe("Response model for listing Notion data source templates.")
23
+ }).passthrough().describe("Response model for listing Notion data source templates.")
24
24
  });
25
25
  //#endregion
26
26
  export { notionListDataSourceTemplates };
@@ -1 +1 @@
1
- {"version":3,"file":"list-data-source-templates.mjs","names":[],"sources":["../../src/actions/list-data-source-templates.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NotionListDataSourceTemplatesInput = z.object({\n page_size: z.number().int().describe(\"Number of templates to return per page (1–100). Defaults to 100 if omitted.\").optional(),\n start_cursor: z.string().describe(\"Cursor for pagination. Use the `next_cursor` value from a previous response to retrieve the next page.\").optional(),\n data_source_id: z.string().describe(\"Data source ID (UUIDv4). Path parameter identifying the data source to list templates from.\"),\n}).describe(\"Request parameters for listing templates in a Notion data source.\");\nconst NotionListDataSourceTemplates_TemplateSchema = z.object({\n id: z.string().describe(\"Unique identifier for the template (UUIDv4 format). Templates are also valid Notion pages and can be retrieved using the Retrieve a page API.\").nullable(),\n name: z.string().describe(\"Display name of the template as shown in the Notion UI.\").nullable(),\n is_default: z.boolean().describe(\"Indicates whether this template is the default template for the data source. When set to true, this template is automatically applied when creating new pages without specifying a template.\").nullable(),\n}).describe(\"A Notion data source template object.\");\nexport const NotionListDataSourceTemplatesOutput = z.object({\n has_more: z.boolean().describe(\"Indicates whether additional templates exist beyond the current page of results. When true, use next_cursor to retrieve the next page.\").nullable(),\n templates: z.array(NotionListDataSourceTemplates_TemplateSchema).describe(\"Collection of template objects available for the data source. Contains up to 100 templates per response.\"),\n next_cursor: z.string().describe(\"Cursor ID for retrieving the next page of results. Only present when has_more is true. Use this value as the start_cursor parameter in the next API request to retrieve additional templates.\").nullable().optional(),\n}).describe(\"Response model for listing Notion data source templates.\");\n\nexport const notionListDataSourceTemplates = action(\"NOTION_LIST_DATA_SOURCE_TEMPLATES\", {\n slug: \"notion-list-data-source-templates\",\n name: \"List data source templates\",\n description: \"Tool to list all templates for a Notion data source. Use when needing to discover template IDs/names for bulk page creation. Use after confirming the data_source_id.\",\n input: NotionListDataSourceTemplatesInput,\n output: NotionListDataSourceTemplatesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qCAAqC,EAAE,OAAO;CACzD,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS;CAC7H,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,wGAAwG,CAAC,CAAC,SAAS;CACrJ,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,6FAA6F;AACnI,CAAC,CAAC,CAAC,SAAS,mEAAmE;AAC/E,MAAM,+CAA+C,EAAE,OAAO;CAC5D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,+IAA+I,CAAC,CAAC,SAAS;CAClL,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CAC9F,YAAY,EAAE,QAAQ,CAAC,CAAC,SAAS,8LAA8L,CAAC,CAAC,SAAS;AAC5O,CAAC,CAAC,CAAC,SAAS,uCAAuC;AAOnD,MAAa,gCAAgC,OAAO,qCAAqC;CACvF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAXiD,EAAE,OAAO;EAC1D,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,wIAAwI,CAAC,CAAC,SAAS;EAClL,WAAW,EAAE,MAAM,4CAA4C,CAAC,CAAC,SAAS,0GAA0G;EACpL,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,+LAA+L,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxP,CAAC,CAAC,CAAC,SAAS,0DAOF;AACV,CAAC"}
1
+ {"version":3,"file":"list-data-source-templates.mjs","names":[],"sources":["../../src/actions/list-data-source-templates.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NotionListDataSourceTemplatesInput = z.object({\n page_size: z.number().int().describe(\"Number of templates to return per page (1–100). Defaults to 100 if omitted.\").optional(),\n start_cursor: z.string().describe(\"Cursor for pagination. Use the `next_cursor` value from a previous response to retrieve the next page.\").optional(),\n data_source_id: z.string().describe(\"Data source ID (UUIDv4). Path parameter identifying the data source to list templates from.\"),\n}).describe(\"Request parameters for listing templates in a Notion data source.\");\nconst NotionListDataSourceTemplates_TemplateSchema = z.object({\n id: z.string().describe(\"Unique identifier for the template (UUIDv4 format). Templates are also valid Notion pages and can be retrieved using the Retrieve a page API.\").nullable(),\n name: z.string().describe(\"Display name of the template as shown in the Notion UI.\").nullable(),\n is_default: z.boolean().describe(\"Indicates whether this template is the default template for the data source. When set to true, this template is automatically applied when creating new pages without specifying a template.\").nullable(),\n}).passthrough().describe(\"A Notion data source template object.\");\nexport const NotionListDataSourceTemplatesOutput = z.object({\n has_more: z.boolean().describe(\"Indicates whether additional templates exist beyond the current page of results. When true, use next_cursor to retrieve the next page.\").nullable(),\n templates: z.array(NotionListDataSourceTemplates_TemplateSchema).describe(\"Collection of template objects available for the data source. Contains up to 100 templates per response.\"),\n next_cursor: z.string().describe(\"Cursor ID for retrieving the next page of results. Only present when has_more is true. Use this value as the start_cursor parameter in the next API request to retrieve additional templates.\").nullable().optional(),\n}).passthrough().describe(\"Response model for listing Notion data source templates.\");\n\nexport const notionListDataSourceTemplates = action(\"NOTION_LIST_DATA_SOURCE_TEMPLATES\", {\n slug: \"notion-list-data-source-templates\",\n name: \"List data source templates\",\n description: \"Tool to list all templates for a Notion data source. Use when needing to discover template IDs/names for bulk page creation. Use after confirming the data_source_id.\",\n input: NotionListDataSourceTemplatesInput,\n output: NotionListDataSourceTemplatesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qCAAqC,EAAE,OAAO;CACzD,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS;CAC7H,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,wGAAwG,CAAC,CAAC,SAAS;CACrJ,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,6FAA6F;AACnI,CAAC,CAAC,CAAC,SAAS,mEAAmE;AAC/E,MAAM,+CAA+C,EAAE,OAAO;CAC5D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,+IAA+I,CAAC,CAAC,SAAS;CAClL,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CAC9F,YAAY,EAAE,QAAQ,CAAC,CAAC,SAAS,8LAA8L,CAAC,CAAC,SAAS;AAC5O,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uCAAuC;AAOjE,MAAa,gCAAgC,OAAO,qCAAqC;CACvF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAXiD,EAAE,OAAO;EAC1D,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,wIAAwI,CAAC,CAAC,SAAS;EAClL,WAAW,EAAE,MAAM,4CAA4C,CAAC,CAAC,SAAS,0GAA0G;EACpL,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,+LAA+L,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxP,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0DAOhB;AACV,CAAC"}
@@ -23,13 +23,13 @@ const NotionListFileUploads_FileUploadObjectSchema = zod.z.object({
23
23
  content_length: zod.z.number().int().describe("Total size of the file, in bytes for completed uploads. Null until file is uploaded.").nullable().optional(),
24
24
  last_edited_time: zod.z.string().describe("ISO 8601 timestamp when the FileUpload was last modified.").nullable(),
25
25
  file_import_result: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Details on success/failure of external URL imports for failed/uploaded files. Only present when status is 'failed' or 'uploaded' and mode was 'external_url'.").nullable().optional()
26
- });
26
+ }).passthrough();
27
27
  const NotionListFileUploadsOutput = zod.z.object({
28
28
  object: zod.z.string().describe("Identifies the response as a paginated list structure.").nullable(),
29
29
  results: zod.z.array(NotionListFileUploads_FileUploadObjectSchema).describe("Contains the list or partial list of file upload objects, sorted by most recent first."),
30
30
  has_more: zod.z.boolean().describe("Indicates whether results remain. Returns false when reaching the list's end; otherwise true.").nullable(),
31
31
  next_cursor: zod.z.string().describe("An opaque string for retrieving the subsequent page. Only present when has_more is true.").nullable().optional()
32
- });
32
+ }).passthrough();
33
33
  const notionListFileUploads = require_action.action("NOTION_LIST_FILE_UPLOADS", {
34
34
  slug: "notion-list-file-uploads",
35
35
  name: "List Notion file uploads",
@@ -1 +1 @@
1
- {"version":3,"file":"list-file-uploads.cjs","names":["z","action"],"sources":["../../src/actions/list-file-uploads.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NotionListFileUploadsInput = z.object({\n page_size: z.number().int().describe(\"Controls how many items the response includes from the complete list. Maximum 100, default 100. The actual response may contain fewer results than requested.\").optional(),\n start_cursor: z.string().describe(\"Accepts a next_cursor value from a previous response. Treat as an opaque value to retrieve subsequent result pages. If omitted, begins from the list's start.\").optional(),\n});\nconst NotionListFileUploads_FileUploadObjectSchema = z.object({\n id: z.string().describe(\"Unique identifier (UUID) for the FileUpload resource.\").nullable(),\n object: z.string().describe(\"Fixed value identifying the object type as 'file_upload'.\").nullable(),\n status: z.enum([\"pending\", \"uploaded\", \"expired\", \"failed\"]).describe(\"Indicates lifecycle stage of upload. One of: pending, uploaded, expired, or failed.\").nullable(),\n filename: z.string().describe(\"Name of the file, provided during the Create a file upload step with automatic extension based on content type. Null until file is uploaded.\").nullable().optional(),\n upload_url: z.string().describe(\"Present only for pending uploads; endpoint for sending file contents.\").nullable().optional(),\n expiry_time: z.string().describe(\"ISO 8601 timestamp when the FileUpload will expire if not attached to workspace objects. Null if already uploaded or expired.\").nullable().optional(),\n complete_url: z.string().describe(\"Present only for pending multi-part uploads; endpoint to finalize the upload.\").nullable().optional(),\n content_type: z.string().describe(\"MIME content type of the uploaded file (e.g., image/png, application/pdf). Null until file is uploaded.\").nullable().optional(),\n created_time: z.string().describe(\"ISO 8601 timestamp when the FileUpload was created.\").nullable(),\n content_length: z.number().int().describe(\"Total size of the file, in bytes for completed uploads. Null until file is uploaded.\").nullable().optional(),\n last_edited_time: z.string().describe(\"ISO 8601 timestamp when the FileUpload was last modified.\").nullable(),\n file_import_result: z.record(z.string(), z.unknown()).describe(\"Details on success/failure of external URL imports for failed/uploaded files. Only present when status is 'failed' or 'uploaded' and mode was 'external_url'.\").nullable().optional(),\n});\nexport const NotionListFileUploadsOutput = z.object({\n object: z.string().describe(\"Identifies the response as a paginated list structure.\").nullable(),\n results: z.array(NotionListFileUploads_FileUploadObjectSchema).describe(\"Contains the list or partial list of file upload objects, sorted by most recent first.\"),\n has_more: z.boolean().describe(\"Indicates whether results remain. Returns false when reaching the list's end; otherwise true.\").nullable(),\n next_cursor: z.string().describe(\"An opaque string for retrieving the subsequent page. Only present when has_more is true.\").nullable().optional(),\n});\n\nexport const notionListFileUploads = action(\"NOTION_LIST_FILE_UPLOADS\", {\n slug: \"notion-list-file-uploads\",\n name: \"List Notion file uploads\",\n description: \"Tool to retrieve file uploads for the current bot integration, sorted by most recent first. Use when you need to list all file uploads or paginate through file upload history.\",\n input: NotionListFileUploadsInput,\n output: NotionListFileUploadsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+JAA+J,CAAC,CAAC,SAAS;CAC/M,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+JAA+J,CAAC,CAAC,SAAS;AAC9M,CAAC;AACD,MAAM,+CAA+CA,IAAAA,EAAE,OAAO;CAC5D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;CAC1F,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;CAClG,QAAQA,IAAAA,EAAE,KAAK;EAAC;EAAW;EAAY;EAAW;CAAQ,CAAC,CAAC,CA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,EAAE,OAAO,CAAC,CAAC,SAAS,0FAA0F,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnJ,CAAC;AAED,MAAa,wBAAwBC,eAAAA,OAAO,4BAA4B;CACtE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"list-file-uploads.cjs","names":["z","action"],"sources":["../../src/actions/list-file-uploads.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NotionListFileUploadsInput = z.object({\n page_size: z.number().int().describe(\"Controls how many items the response includes from the complete list. Maximum 100, default 100. The actual response may contain fewer results than requested.\").optional(),\n start_cursor: z.string().describe(\"Accepts a next_cursor value from a previous response. Treat as an opaque value to retrieve subsequent result pages. If omitted, begins from the list's start.\").optional(),\n});\nconst NotionListFileUploads_FileUploadObjectSchema = z.object({\n id: z.string().describe(\"Unique identifier (UUID) for the FileUpload resource.\").nullable(),\n object: z.string().describe(\"Fixed value identifying the object type as 'file_upload'.\").nullable(),\n status: z.enum([\"pending\", \"uploaded\", \"expired\", \"failed\"]).describe(\"Indicates lifecycle stage of upload. One of: pending, uploaded, expired, or failed.\").nullable(),\n filename: z.string().describe(\"Name of the file, provided during the Create a file upload step with automatic extension based on content type. Null until file is uploaded.\").nullable().optional(),\n upload_url: z.string().describe(\"Present only for pending uploads; endpoint for sending file contents.\").nullable().optional(),\n expiry_time: z.string().describe(\"ISO 8601 timestamp when the FileUpload will expire if not attached to workspace objects. Null if already uploaded or expired.\").nullable().optional(),\n complete_url: z.string().describe(\"Present only for pending multi-part uploads; endpoint to finalize the upload.\").nullable().optional(),\n content_type: z.string().describe(\"MIME content type of the uploaded file (e.g., image/png, application/pdf). Null until file is uploaded.\").nullable().optional(),\n created_time: z.string().describe(\"ISO 8601 timestamp when the FileUpload was created.\").nullable(),\n content_length: z.number().int().describe(\"Total size of the file, in bytes for completed uploads. Null until file is uploaded.\").nullable().optional(),\n last_edited_time: z.string().describe(\"ISO 8601 timestamp when the FileUpload was last modified.\").nullable(),\n file_import_result: z.record(z.string(), z.unknown()).describe(\"Details on success/failure of external URL imports for failed/uploaded files. Only present when status is 'failed' or 'uploaded' and mode was 'external_url'.\").nullable().optional(),\n}).passthrough();\nexport const NotionListFileUploadsOutput = z.object({\n object: z.string().describe(\"Identifies the response as a paginated list structure.\").nullable(),\n results: z.array(NotionListFileUploads_FileUploadObjectSchema).describe(\"Contains the list or partial list of file upload objects, sorted by most recent first.\"),\n has_more: z.boolean().describe(\"Indicates whether results remain. Returns false when reaching the list's end; otherwise true.\").nullable(),\n next_cursor: z.string().describe(\"An opaque string for retrieving the subsequent page. Only present when has_more is true.\").nullable().optional(),\n}).passthrough();\n\nexport const notionListFileUploads = action(\"NOTION_LIST_FILE_UPLOADS\", {\n slug: \"notion-list-file-uploads\",\n name: \"List Notion file uploads\",\n description: \"Tool to retrieve file uploads for the current bot integration, sorted by most recent first. Use when you need to list all file uploads or paginate through file upload history.\",\n input: NotionListFileUploadsInput,\n output: NotionListFileUploadsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+JAA+J,CAAC,CAAC,SAAS;CAC/M,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+JAA+J,CAAC,CAAC,SAAS;AAC9M,CAAC;AACD,MAAM,+CAA+CA,IAAAA,EAAE,OAAO;CAC5D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;CAC1F,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;CAClG,QAAQA,IAAAA,EAAE,KAAK;EAAC;EAAW;EAAY;EAAW;CAAQ,CAAC,CAAC,CAAC,SAAS,qFAAqF,CAAC,CAAC,SAAS;CACtK,UAAUA,IAAAA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F,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnJ,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,wBAAwBC,eAAAA,OAAO,4BAA4B;CACtE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -25,10 +25,10 @@ declare const NotionListFileUploadsOutput: z.ZodObject<{
25
25
  content_length: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
26
26
  last_edited_time: z.ZodNullable<z.ZodString>;
27
27
  file_import_result: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
28
- }, z.core.$strip>>;
28
+ }, z.core.$loose>>;
29
29
  has_more: z.ZodNullable<z.ZodBoolean>;
30
30
  next_cursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31
- }, z.core.$strip>;
31
+ }, z.core.$loose>;
32
32
  declare const notionListFileUploads: import("@keystrokehq/action").WorkflowActionDefinition<{
33
33
  page_size?: number | undefined;
34
34
  start_cursor?: string | undefined;
@@ -25,10 +25,10 @@ declare const NotionListFileUploadsOutput: z.ZodObject<{
25
25
  content_length: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
26
26
  last_edited_time: z.ZodNullable<z.ZodString>;
27
27
  file_import_result: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
28
- }, z.core.$strip>>;
28
+ }, z.core.$loose>>;
29
29
  has_more: z.ZodNullable<z.ZodBoolean>;
30
30
  next_cursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31
- }, z.core.$strip>;
31
+ }, z.core.$loose>;
32
32
  declare const notionListFileUploads: import("@keystrokehq/action").WorkflowActionDefinition<{
33
33
  page_size?: number | undefined;
34
34
  start_cursor?: string | undefined;
@@ -23,7 +23,7 @@ const NotionListFileUploads_FileUploadObjectSchema = z.object({
23
23
  content_length: z.number().int().describe("Total size of the file, in bytes for completed uploads. Null until file is uploaded.").nullable().optional(),
24
24
  last_edited_time: z.string().describe("ISO 8601 timestamp when the FileUpload was last modified.").nullable(),
25
25
  file_import_result: z.record(z.string(), z.unknown()).describe("Details on success/failure of external URL imports for failed/uploaded files. Only present when status is 'failed' or 'uploaded' and mode was 'external_url'.").nullable().optional()
26
- });
26
+ }).passthrough();
27
27
  const notionListFileUploads = action("NOTION_LIST_FILE_UPLOADS", {
28
28
  slug: "notion-list-file-uploads",
29
29
  name: "List Notion file uploads",
@@ -34,7 +34,7 @@ const notionListFileUploads = action("NOTION_LIST_FILE_UPLOADS", {
34
34
  results: z.array(NotionListFileUploads_FileUploadObjectSchema).describe("Contains the list or partial list of file upload objects, sorted by most recent first."),
35
35
  has_more: z.boolean().describe("Indicates whether results remain. Returns false when reaching the list's end; otherwise true.").nullable(),
36
36
  next_cursor: z.string().describe("An opaque string for retrieving the subsequent page. Only present when has_more is true.").nullable().optional()
37
- })
37
+ }).passthrough()
38
38
  });
39
39
  //#endregion
40
40
  export { notionListFileUploads };
@@ -1 +1 @@
1
- {"version":3,"file":"list-file-uploads.mjs","names":[],"sources":["../../src/actions/list-file-uploads.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NotionListFileUploadsInput = z.object({\n page_size: z.number().int().describe(\"Controls how many items the response includes from the complete list. Maximum 100, default 100. The actual response may contain fewer results than requested.\").optional(),\n start_cursor: z.string().describe(\"Accepts a next_cursor value from a previous response. Treat as an opaque value to retrieve subsequent result pages. If omitted, begins from the list's start.\").optional(),\n});\nconst NotionListFileUploads_FileUploadObjectSchema = z.object({\n id: z.string().describe(\"Unique identifier (UUID) for the FileUpload resource.\").nullable(),\n object: z.string().describe(\"Fixed value identifying the object type as 'file_upload'.\").nullable(),\n status: z.enum([\"pending\", \"uploaded\", \"expired\", \"failed\"]).describe(\"Indicates lifecycle stage of upload. One of: pending, uploaded, expired, or failed.\").nullable(),\n filename: z.string().describe(\"Name of the file, provided during the Create a file upload step with automatic extension based on content type. Null until file is uploaded.\").nullable().optional(),\n upload_url: z.string().describe(\"Present only for pending uploads; endpoint for sending file contents.\").nullable().optional(),\n expiry_time: z.string().describe(\"ISO 8601 timestamp when the FileUpload will expire if not attached to workspace objects. Null if already uploaded or expired.\").nullable().optional(),\n complete_url: z.string().describe(\"Present only for pending multi-part uploads; endpoint to finalize the upload.\").nullable().optional(),\n content_type: z.string().describe(\"MIME content type of the uploaded file (e.g., image/png, application/pdf). Null until file is uploaded.\").nullable().optional(),\n created_time: z.string().describe(\"ISO 8601 timestamp when the FileUpload was created.\").nullable(),\n content_length: z.number().int().describe(\"Total size of the file, in bytes for completed uploads. Null until file is uploaded.\").nullable().optional(),\n last_edited_time: z.string().describe(\"ISO 8601 timestamp when the FileUpload was last modified.\").nullable(),\n file_import_result: z.record(z.string(), z.unknown()).describe(\"Details on success/failure of external URL imports for failed/uploaded files. Only present when status is 'failed' or 'uploaded' and mode was 'external_url'.\").nullable().optional(),\n});\nexport const NotionListFileUploadsOutput = z.object({\n object: z.string().describe(\"Identifies the response as a paginated list structure.\").nullable(),\n results: z.array(NotionListFileUploads_FileUploadObjectSchema).describe(\"Contains the list or partial list of file upload objects, sorted by most recent first.\"),\n has_more: z.boolean().describe(\"Indicates whether results remain. Returns false when reaching the list's end; otherwise true.\").nullable(),\n next_cursor: z.string().describe(\"An opaque string for retrieving the subsequent page. Only present when has_more is true.\").nullable().optional(),\n});\n\nexport const notionListFileUploads = action(\"NOTION_LIST_FILE_UPLOADS\", {\n slug: \"notion-list-file-uploads\",\n name: \"List Notion file uploads\",\n description: \"Tool to retrieve file uploads for the current bot integration, sorted by most recent first. Use when you need to list all file uploads or paginate through file upload history.\",\n input: NotionListFileUploadsInput,\n output: NotionListFileUploadsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6B,EAAE,OAAO;CACjD,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+JAA+J,CAAC,CAAC,SAAS;CAC/M,cAAc,EAAE,OAAO,CAAC,CAAC,SA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yC,EAAE,OAAO;EAClD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;EAC/F,SAAS,EAAE,MAAM,4CAA4C,CAAC,CAAC,SAAS,wFAAwF;EAChK,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,+FAA+F,CAAC,CAAC,SAAS;EACzI,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,0FAA0F,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnJ,CAOU;AACV,CAAC"}
1
+ {"version":3,"file":"list-file-uploads.mjs","names":[],"sources":["../../src/actions/list-file-uploads.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NotionListFileUploadsInput = z.object({\n page_size: z.number().int().describe(\"Controls how many items the response includes from the complete list. Maximum 100, default 100. The actual response may contain fewer results than requested.\").optional(),\n start_cursor: z.string().describe(\"Accepts a next_cursor value from a previous response. Treat as an opaque value to retrieve subsequent result pages. If omitted, begins from the list's start.\").optional(),\n});\nconst NotionListFileUploads_FileUploadObjectSchema = z.object({\n id: z.string().describe(\"Unique identifier (UUID) for the FileUpload resource.\").nullable(),\n object: z.string().describe(\"Fixed value identifying the object type as 'file_upload'.\").nullable(),\n status: z.enum([\"pending\", \"uploaded\", \"expired\", \"failed\"]).describe(\"Indicates lifecycle stage of upload. One of: pending, uploaded, expired, or failed.\").nullable(),\n filename: z.string().describe(\"Name of the file, provided during the Create a file upload step with automatic extension based on content type. Null until file is uploaded.\").nullable().optional(),\n upload_url: z.string().describe(\"Present only for pending uploads; endpoint for sending file contents.\").nullable().optional(),\n expiry_time: z.string().describe(\"ISO 8601 timestamp when the FileUpload will expire if not attached to workspace objects. Null if already uploaded or expired.\").nullable().optional(),\n complete_url: z.string().describe(\"Present only for pending multi-part uploads; endpoint to finalize the upload.\").nullable().optional(),\n content_type: z.string().describe(\"MIME content type of the uploaded file (e.g., image/png, application/pdf). Null until file is uploaded.\").nullable().optional(),\n created_time: z.string().describe(\"ISO 8601 timestamp when the FileUpload was created.\").nullable(),\n content_length: z.number().int().describe(\"Total size of the file, in bytes for completed uploads. Null until file is uploaded.\").nullable().optional(),\n last_edited_time: z.string().describe(\"ISO 8601 timestamp when the FileUpload was last modified.\").nullable(),\n file_import_result: z.record(z.string(), z.unknown()).describe(\"Details on success/failure of external URL imports for failed/uploaded files. Only present when status is 'failed' or 'uploaded' and mode was 'external_url'.\").nullable().optional(),\n}).passthrough();\nexport const NotionListFileUploadsOutput = z.object({\n object: z.string().describe(\"Identifies the response as a paginated list structure.\").nullable(),\n results: z.array(NotionListFileUploads_FileUploadObjectSchema).describe(\"Contains the list or partial list of file upload objects, sorted by most recent first.\"),\n has_more: z.boolean().describe(\"Indicates whether results remain. Returns false when reaching the list's end; otherwise true.\").nullable(),\n next_cursor: z.string().describe(\"An opaque string for retrieving the subsequent page. Only present when has_more is true.\").nullable().optional(),\n}).passthrough();\n\nexport const notionListFileUploads = action(\"NOTION_LIST_FILE_UPLOADS\", {\n slug: \"notion-list-file-uploads\",\n name: \"List Notion file uploads\",\n description: \"Tool to retrieve file uploads for the current bot integration, sorted by most recent first. Use when you need to list all file uploads or paginate through file upload history.\",\n input: NotionListFileUploadsInput,\n output: NotionListFileUploadsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6B,EAAE,OAAO;CACjD,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+JAA+J,CAAC,CAAC,SAAS;CAC/M,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,+JAA+J,CAAC,CAAC,SAAS;AAC9M,CAAC;AACD,MAAM,+CAA+C,EAAE,OAAO;CAC5D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;CAC1F,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;CAClG,QAAQ,EAAE,KAAK;EAAC;EAAW;EAAY;EAAW;CAAQ,CAA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0FAA0F,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnJ,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
@@ -5,7 +5,7 @@ const NotionListUsersInput = zod.z.object({
5
5
  page_size: zod.z.number().int().default(30).describe("The desired number of users to retrieve per page. The maximum value is 100.").optional(),
6
6
  start_cursor: zod.z.string().describe("If omitted, retrieves the first page of users. Use the 'next_cursor' value from a previous response to get the next page.").optional()
7
7
  });
8
- const NotionListUsers__NotionPersonSchema = zod.z.object({ email: zod.z.string().nullable().optional() });
8
+ const NotionListUsers__NotionPersonSchema = zod.z.object({ email: zod.z.string().nullable().optional() }).passthrough();
9
9
  const NotionListUsers__NotionBotOwnerUserSchema = zod.z.object({
10
10
  id: zod.z.string().nullable(),
11
11
  name: zod.z.string().nullable().optional(),
@@ -13,19 +13,19 @@ const NotionListUsers__NotionBotOwnerUserSchema = zod.z.object({
13
13
  object: zod.z.string().nullable(),
14
14
  person: NotionListUsers__NotionPersonSchema.nullable().optional(),
15
15
  avatar_url: zod.z.string().nullable().optional()
16
- });
16
+ }).passthrough();
17
17
  const NotionListUsers__NotionBotOwnerSchema = zod.z.object({
18
18
  type: zod.z.enum(["workspace", "user"]).nullable().optional(),
19
19
  user: NotionListUsers__NotionBotOwnerUserSchema.nullable().optional(),
20
20
  workspace: zod.z.boolean().nullable().optional()
21
- });
22
- const NotionListUsers__NotionWorkspaceLimitsSchema = zod.z.object({ max_file_upload_size_in_bytes: zod.z.number().int().nullable().optional() });
21
+ }).passthrough();
22
+ const NotionListUsers__NotionWorkspaceLimitsSchema = zod.z.object({ max_file_upload_size_in_bytes: zod.z.number().int().nullable().optional() }).passthrough();
23
23
  const NotionListUsers__NotionBotSchema = zod.z.object({
24
24
  owner: NotionListUsers__NotionBotOwnerSchema.nullable().optional(),
25
25
  workspace_id: zod.z.string().nullable().optional(),
26
26
  workspace_name: zod.z.string().nullable().optional(),
27
27
  workspace_limits: NotionListUsers__NotionWorkspaceLimitsSchema.nullable().optional()
28
- });
28
+ }).passthrough();
29
29
  const NotionListUsers__NotionUserSchema = zod.z.object({
30
30
  id: zod.z.string().nullable(),
31
31
  bot: NotionListUsers__NotionBotSchema.nullable().optional(),
@@ -34,7 +34,7 @@ const NotionListUsers__NotionUserSchema = zod.z.object({
34
34
  object: zod.z.string().nullable(),
35
35
  person: NotionListUsers__NotionPersonSchema.nullable().optional(),
36
36
  avatar_url: zod.z.string().nullable().optional()
37
- }).describe("Represents a Notion user (person or bot). Mirrors the official Notion API User object.");
37
+ }).passthrough().describe("Represents a Notion user (person or bot). Mirrors the official Notion API User object.");
38
38
  const NotionListUsers__ListUsersPayloadSchema = zod.z.object({
39
39
  type: zod.z.string().nullable().optional(),
40
40
  user: zod.z.record(zod.z.string(), zod.z.unknown()).nullable().optional(),
@@ -43,8 +43,8 @@ const NotionListUsers__ListUsersPayloadSchema = zod.z.object({
43
43
  has_more: zod.z.boolean().nullable(),
44
44
  request_id: zod.z.string().nullable().optional(),
45
45
  next_cursor: zod.z.string().nullable().optional()
46
- }).describe("The Notion API response payload for GET /v1/users.\n\nIncludes optional fields sometimes added by client wrappers (request_id, type, user).");
47
- const NotionListUsersOutput = zod.z.object({ response_data: NotionListUsers__ListUsersPayloadSchema.nullable() });
46
+ }).passthrough().describe("The Notion API response payload for GET /v1/users.\n\nIncludes optional fields sometimes added by client wrappers (request_id, type, user).");
47
+ const NotionListUsersOutput = zod.z.object({ response_data: NotionListUsers__ListUsersPayloadSchema.nullable() }).passthrough();
48
48
  const notionListUsers = require_action.action("NOTION_LIST_USERS", {
49
49
  slug: "notion-list-users",
50
50
  name: "List users",
@@ -1 +1 @@
1
- {"version":3,"file":"list-users.cjs","names":["z","action"],"sources":["../../src/actions/list-users.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NotionListUsersInput = z.object({\n page_size: z.number().int().default(30).describe(\"The desired number of users to retrieve per page. The maximum value is 100.\").optional(),\n start_cursor: z.string().describe(\"If omitted, retrieves the first page of users. Use the 'next_cursor' value from a previous response to get the next page.\").optional(),\n});\nconst NotionListUsers__NotionPersonSchema = z.object({\n email: z.string().nullable().optional(),\n});\nconst NotionListUsers__NotionBotOwnerUserSchema = z.object({\n id: z.string().nullable(),\n name: z.string().nullable().optional(),\n type: z.enum([\"person\", \"bot\"]).nullable().optional(),\n object: z.string().nullable(),\n person: NotionListUsers__NotionPersonSchema.nullable().optional(),\n avatar_url: z.string().nullable().optional(),\n});\nconst NotionListUsers__NotionBotOwnerSchema = z.object({\n type: z.enum([\"workspace\", \"user\"]).nullable().optional(),\n user: NotionListUsers__NotionBotOwnerUserSchema.nullable().optional(),\n workspace: z.boolean().nullable().optional(),\n});\nconst NotionListUsers__NotionWorkspaceLimitsSchema = z.object({\n max_file_upload_size_in_bytes: z.number().int().nullable().optional(),\n});\nconst NotionListUsers__NotionBotSchema = z.object({\n owner: NotionListUsers__NotionBotOwnerSchema.nullable().optional(),\n workspace_id: z.string().nullable().optional(),\n workspace_name: z.string().nullable().optional(),\n workspace_limits: NotionListUsers__NotionWorkspaceLimitsSchema.nullable().optional(),\n});\nconst NotionListUsers__NotionUserSchema = z.object({\n id: z.string().nullable(),\n bot: NotionListUsers__NotionBotSchema.nullable().optional(),\n name: z.string().nullable().optional(),\n type: z.enum([\"person\", \"bot\"]).nullable().optional(),\n object: z.string().nullable(),\n person: NotionListUsers__NotionPersonSchema.nullable().optional(),\n avatar_url: z.string().nullable().optional(),\n}).describe(\"Represents a Notion user (person or bot). Mirrors the official Notion API User object.\");\nconst NotionListUsers__ListUsersPayloadSchema = z.object({\n type: z.string().nullable().optional(),\n user: z.record(z.string(), z.unknown()).nullable().optional(),\n object: z.string().nullable(),\n results: z.array(NotionListUsers__NotionUserSchema),\n has_more: z.boolean().nullable(),\n request_id: z.string().nullable().optional(),\n next_cursor: z.string().nullable().optional(),\n}).describe(\"The Notion API response payload for GET /v1/users.\\n\\nIncludes optional fields sometimes added by client wrappers (request_id, type, user).\");\nexport const NotionListUsersOutput = z.object({\n response_data: NotionListUsers__ListUsersPayloadSchema.nullable(),\n});\n\nexport const notionListUsers = action(\"NOTION_LIST_USERS\", {\n slug: \"notion-list-users\",\n name: \"List users\",\n description: \"Retrieves a paginated list of users (excluding guests) from the Notion workspace; the number of users returned per page may be less than the requested `page_size`.\",\n input: NotionListUsersInput,\n output: NotionListUsersOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uBAAuBA,IAAAA,EAAE,OAAO;CAC3C,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS;CACzI,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2HAA2H,CAAC,CAAC,SAAS;AAC1K,CAAC;AACD,MAAM,sCAAsCA,IAAAA,EAAE,OAAO,EACnD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACxC,CAAC;AACD,MAAM,4CAA4CA,IAAAA,EAAE,OAAO;CACzD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS;CACxB,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrC,MAAMA,IAAAA,EAAE,KAAK,CAAC,UAAU,KAAK,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS;CAC5B,QAAQ,oCAAoC,SAAS,CAAC,CAAC,SAAS;CAChE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC7C,CAAC;AACD,MAAM,wCAAwCA,IAAAA,EAAE,OAAO;CACrD,MAAMA,IAAAA,EAAE,KAAK,CAAC,aAAa,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxD,MAAM,0CAA0C,SAAS,CAAC,CAAC,SAAS;CACpE,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,SAAS;CAC5D,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS;CAC5B,SAASA,IAAAA,EAAE,MAAM,iCAAiC;CAClD,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS;CAC/B,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3C,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9C,CAAC,CAAC,CAAC,SAAS,6IAA6I;AACzJ,MAAa,wBAAwBA,IAAAA,EAAE,OAAO,EAC5C,eAAe,wCAAwC,SAAS,EAClE,CAAC;AAED,MAAa,kBAAkBC,eAAAA,OAAO,qBAAqB;CACzD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"list-users.cjs","names":["z","action"],"sources":["../../src/actions/list-users.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NotionListUsersInput = z.object({\n page_size: z.number().int().default(30).describe(\"The desired number of users to retrieve per page. The maximum value is 100.\").optional(),\n start_cursor: z.string().describe(\"If omitted, retrieves the first page of users. Use the 'next_cursor' value from a previous response to get the next page.\").optional(),\n});\nconst NotionListUsers__NotionPersonSchema = z.object({\n email: z.string().nullable().optional(),\n}).passthrough();\nconst NotionListUsers__NotionBotOwnerUserSchema = z.object({\n id: z.string().nullable(),\n name: z.string().nullable().optional(),\n type: z.enum([\"person\", \"bot\"]).nullable().optional(),\n object: z.string().nullable(),\n person: NotionListUsers__NotionPersonSchema.nullable().optional(),\n avatar_url: z.string().nullable().optional(),\n}).passthrough();\nconst NotionListUsers__NotionBotOwnerSchema = z.object({\n type: z.enum([\"workspace\", \"user\"]).nullable().optional(),\n user: NotionListUsers__NotionBotOwnerUserSchema.nullable().optional(),\n workspace: z.boolean().nullable().optional(),\n}).passthrough();\nconst NotionListUsers__NotionWorkspaceLimitsSchema = z.object({\n max_file_upload_size_in_bytes: z.number().int().nullable().optional(),\n}).passthrough();\nconst NotionListUsers__NotionBotSchema = z.object({\n owner: NotionListUsers__NotionBotOwnerSchema.nullable().optional(),\n workspace_id: z.string().nullable().optional(),\n workspace_name: z.string().nullable().optional(),\n workspace_limits: NotionListUsers__NotionWorkspaceLimitsSchema.nullable().optional(),\n}).passthrough();\nconst NotionListUsers__NotionUserSchema = z.object({\n id: z.string().nullable(),\n bot: NotionListUsers__NotionBotSchema.nullable().optional(),\n name: z.string().nullable().optional(),\n type: z.enum([\"person\", \"bot\"]).nullable().optional(),\n object: z.string().nullable(),\n person: NotionListUsers__NotionPersonSchema.nullable().optional(),\n avatar_url: z.string().nullable().optional(),\n}).passthrough().describe(\"Represents a Notion user (person or bot). Mirrors the official Notion API User object.\");\nconst NotionListUsers__ListUsersPayloadSchema = z.object({\n type: z.string().nullable().optional(),\n user: z.record(z.string(), z.unknown()).nullable().optional(),\n object: z.string().nullable(),\n results: z.array(NotionListUsers__NotionUserSchema),\n has_more: z.boolean().nullable(),\n request_id: z.string().nullable().optional(),\n next_cursor: z.string().nullable().optional(),\n}).passthrough().describe(\"The Notion API response payload for GET /v1/users.\\n\\nIncludes optional fields sometimes added by client wrappers (request_id, type, user).\");\nexport const NotionListUsersOutput = z.object({\n response_data: NotionListUsers__ListUsersPayloadSchema.nullable(),\n}).passthrough();\n\nexport const notionListUsers = action(\"NOTION_LIST_USERS\", {\n slug: \"notion-list-users\",\n name: \"List users\",\n description: \"Retrieves a paginated list of users (excluding guests) from the Notion workspace; the number of users returned per page may be less than the requested `page_size`.\",\n input: NotionListUsersInput,\n output: NotionListUsersOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uBAAuBA,IAAAA,EAAE,OAAO;CAC3C,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS;CACzI,cAAcA,IAAAA,EAAE,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C,CAAC,SAAS,6IAA6I;AACvK,MAAa,wBAAwBA,IAAAA,EAAE,OAAO,EAC5C,eAAe,wCAAwC,SAAS,EAClE,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,kBAAkBC,eAAAA,OAAO,qBAAqB;CACzD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -22,39 +22,39 @@ declare const NotionListUsersOutput: z.ZodObject<{
22
22
  id: z.ZodNullable<z.ZodString>;
23
23
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24
24
  type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
25
- person: "person";
26
25
  bot: "bot";
26
+ person: "person";
27
27
  }>>>;
28
28
  object: z.ZodNullable<z.ZodString>;
29
29
  person: z.ZodOptional<z.ZodNullable<z.ZodObject<{
30
30
  email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31
- }, z.core.$strip>>>;
31
+ }, z.core.$loose>>>;
32
32
  avatar_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33
- }, z.core.$strip>>>;
33
+ }, z.core.$loose>>>;
34
34
  workspace: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
35
- }, z.core.$strip>>>;
35
+ }, z.core.$loose>>>;
36
36
  workspace_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
37
37
  workspace_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
38
38
  workspace_limits: z.ZodOptional<z.ZodNullable<z.ZodObject<{
39
39
  max_file_upload_size_in_bytes: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
40
- }, z.core.$strip>>>;
41
- }, z.core.$strip>>>;
40
+ }, z.core.$loose>>>;
41
+ }, z.core.$loose>>>;
42
42
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
43
43
  type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
44
- person: "person";
45
44
  bot: "bot";
45
+ person: "person";
46
46
  }>>>;
47
47
  object: z.ZodNullable<z.ZodString>;
48
48
  person: z.ZodOptional<z.ZodNullable<z.ZodObject<{
49
49
  email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
50
- }, z.core.$strip>>>;
50
+ }, z.core.$loose>>>;
51
51
  avatar_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
52
- }, z.core.$strip>>;
52
+ }, z.core.$loose>>;
53
53
  has_more: z.ZodNullable<z.ZodBoolean>;
54
54
  request_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
55
55
  next_cursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
56
- }, z.core.$strip>>;
57
- }, z.core.$strip>;
56
+ }, z.core.$loose>>;
57
+ }, z.core.$loose>;
58
58
  declare const notionListUsers: import("@keystrokehq/action").WorkflowActionDefinition<{
59
59
  page_size?: number | undefined;
60
60
  start_cursor?: string | undefined;
@@ -22,39 +22,39 @@ declare const NotionListUsersOutput: z.ZodObject<{
22
22
  id: z.ZodNullable<z.ZodString>;
23
23
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24
24
  type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
25
- person: "person";
26
25
  bot: "bot";
26
+ person: "person";
27
27
  }>>>;
28
28
  object: z.ZodNullable<z.ZodString>;
29
29
  person: z.ZodOptional<z.ZodNullable<z.ZodObject<{
30
30
  email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31
- }, z.core.$strip>>>;
31
+ }, z.core.$loose>>>;
32
32
  avatar_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33
- }, z.core.$strip>>>;
33
+ }, z.core.$loose>>>;
34
34
  workspace: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
35
- }, z.core.$strip>>>;
35
+ }, z.core.$loose>>>;
36
36
  workspace_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
37
37
  workspace_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
38
38
  workspace_limits: z.ZodOptional<z.ZodNullable<z.ZodObject<{
39
39
  max_file_upload_size_in_bytes: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
40
- }, z.core.$strip>>>;
41
- }, z.core.$strip>>>;
40
+ }, z.core.$loose>>>;
41
+ }, z.core.$loose>>>;
42
42
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
43
43
  type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
44
- person: "person";
45
44
  bot: "bot";
45
+ person: "person";
46
46
  }>>>;
47
47
  object: z.ZodNullable<z.ZodString>;
48
48
  person: z.ZodOptional<z.ZodNullable<z.ZodObject<{
49
49
  email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
50
- }, z.core.$strip>>>;
50
+ }, z.core.$loose>>>;
51
51
  avatar_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
52
- }, z.core.$strip>>;
52
+ }, z.core.$loose>>;
53
53
  has_more: z.ZodNullable<z.ZodBoolean>;
54
54
  request_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
55
55
  next_cursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
56
- }, z.core.$strip>>;
57
- }, z.core.$strip>;
56
+ }, z.core.$loose>>;
57
+ }, z.core.$loose>;
58
58
  declare const notionListUsers: import("@keystrokehq/action").WorkflowActionDefinition<{
59
59
  page_size?: number | undefined;
60
60
  start_cursor?: string | undefined;
@@ -5,7 +5,7 @@ const NotionListUsersInput = z.object({
5
5
  page_size: z.number().int().default(30).describe("The desired number of users to retrieve per page. The maximum value is 100.").optional(),
6
6
  start_cursor: z.string().describe("If omitted, retrieves the first page of users. Use the 'next_cursor' value from a previous response to get the next page.").optional()
7
7
  });
8
- const NotionListUsers__NotionPersonSchema = z.object({ email: z.string().nullable().optional() });
8
+ const NotionListUsers__NotionPersonSchema = z.object({ email: z.string().nullable().optional() }).passthrough();
9
9
  const NotionListUsers__NotionBotOwnerUserSchema = z.object({
10
10
  id: z.string().nullable(),
11
11
  name: z.string().nullable().optional(),
@@ -13,19 +13,19 @@ const NotionListUsers__NotionBotOwnerUserSchema = z.object({
13
13
  object: z.string().nullable(),
14
14
  person: NotionListUsers__NotionPersonSchema.nullable().optional(),
15
15
  avatar_url: z.string().nullable().optional()
16
- });
16
+ }).passthrough();
17
17
  const NotionListUsers__NotionBotOwnerSchema = z.object({
18
18
  type: z.enum(["workspace", "user"]).nullable().optional(),
19
19
  user: NotionListUsers__NotionBotOwnerUserSchema.nullable().optional(),
20
20
  workspace: z.boolean().nullable().optional()
21
- });
22
- const NotionListUsers__NotionWorkspaceLimitsSchema = z.object({ max_file_upload_size_in_bytes: z.number().int().nullable().optional() });
21
+ }).passthrough();
22
+ const NotionListUsers__NotionWorkspaceLimitsSchema = z.object({ max_file_upload_size_in_bytes: z.number().int().nullable().optional() }).passthrough();
23
23
  const NotionListUsers__NotionBotSchema = z.object({
24
24
  owner: NotionListUsers__NotionBotOwnerSchema.nullable().optional(),
25
25
  workspace_id: z.string().nullable().optional(),
26
26
  workspace_name: z.string().nullable().optional(),
27
27
  workspace_limits: NotionListUsers__NotionWorkspaceLimitsSchema.nullable().optional()
28
- });
28
+ }).passthrough();
29
29
  const NotionListUsers__NotionUserSchema = z.object({
30
30
  id: z.string().nullable(),
31
31
  bot: NotionListUsers__NotionBotSchema.nullable().optional(),
@@ -34,7 +34,7 @@ const NotionListUsers__NotionUserSchema = z.object({
34
34
  object: z.string().nullable(),
35
35
  person: NotionListUsers__NotionPersonSchema.nullable().optional(),
36
36
  avatar_url: z.string().nullable().optional()
37
- }).describe("Represents a Notion user (person or bot). Mirrors the official Notion API User object.");
37
+ }).passthrough().describe("Represents a Notion user (person or bot). Mirrors the official Notion API User object.");
38
38
  const NotionListUsers__ListUsersPayloadSchema = z.object({
39
39
  type: z.string().nullable().optional(),
40
40
  user: z.record(z.string(), z.unknown()).nullable().optional(),
@@ -43,13 +43,13 @@ const NotionListUsers__ListUsersPayloadSchema = z.object({
43
43
  has_more: z.boolean().nullable(),
44
44
  request_id: z.string().nullable().optional(),
45
45
  next_cursor: z.string().nullable().optional()
46
- }).describe("The Notion API response payload for GET /v1/users.\n\nIncludes optional fields sometimes added by client wrappers (request_id, type, user).");
46
+ }).passthrough().describe("The Notion API response payload for GET /v1/users.\n\nIncludes optional fields sometimes added by client wrappers (request_id, type, user).");
47
47
  const notionListUsers = action("NOTION_LIST_USERS", {
48
48
  slug: "notion-list-users",
49
49
  name: "List users",
50
50
  description: "Retrieves a paginated list of users (excluding guests) from the Notion workspace; the number of users returned per page may be less than the requested `page_size`.",
51
51
  input: NotionListUsersInput,
52
- output: z.object({ response_data: NotionListUsers__ListUsersPayloadSchema.nullable() })
52
+ output: z.object({ response_data: NotionListUsers__ListUsersPayloadSchema.nullable() }).passthrough()
53
53
  });
54
54
  //#endregion
55
55
  export { notionListUsers };
@@ -1 +1 @@
1
- {"version":3,"file":"list-users.mjs","names":[],"sources":["../../src/actions/list-users.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NotionListUsersInput = z.object({\n page_size: z.number().int().default(30).describe(\"The desired number of users to retrieve per page. The maximum value is 100.\").optional(),\n start_cursor: z.string().describe(\"If omitted, retrieves the first page of users. Use the 'next_cursor' value from a previous response to get the next page.\").optional(),\n});\nconst NotionListUsers__NotionPersonSchema = z.object({\n email: z.string().nullable().optional(),\n});\nconst NotionListUsers__NotionBotOwnerUserSchema = z.object({\n id: z.string().nullable(),\n name: z.string().nullable().optional(),\n type: z.enum([\"person\", \"bot\"]).nullable().optional(),\n object: z.string().nullable(),\n person: NotionListUsers__NotionPersonSchema.nullable().optional(),\n avatar_url: z.string().nullable().optional(),\n});\nconst NotionListUsers__NotionBotOwnerSchema = z.object({\n type: z.enum([\"workspace\", \"user\"]).nullable().optional(),\n user: NotionListUsers__NotionBotOwnerUserSchema.nullable().optional(),\n workspace: z.boolean().nullable().optional(),\n});\nconst NotionListUsers__NotionWorkspaceLimitsSchema = z.object({\n max_file_upload_size_in_bytes: z.number().int().nullable().optional(),\n});\nconst NotionListUsers__NotionBotSchema = z.object({\n owner: NotionListUsers__NotionBotOwnerSchema.nullable().optional(),\n workspace_id: z.string().nullable().optional(),\n workspace_name: z.string().nullable().optional(),\n workspace_limits: NotionListUsers__NotionWorkspaceLimitsSchema.nullable().optional(),\n});\nconst NotionListUsers__NotionUserSchema = z.object({\n id: z.string().nullable(),\n bot: NotionListUsers__NotionBotSchema.nullable().optional(),\n name: z.string().nullable().optional(),\n type: z.enum([\"person\", \"bot\"]).nullable().optional(),\n object: z.string().nullable(),\n person: NotionListUsers__NotionPersonSchema.nullable().optional(),\n avatar_url: z.string().nullable().optional(),\n}).describe(\"Represents a Notion user (person or bot). Mirrors the official Notion API User object.\");\nconst NotionListUsers__ListUsersPayloadSchema = z.object({\n type: z.string().nullable().optional(),\n user: z.record(z.string(), z.unknown()).nullable().optional(),\n object: z.string().nullable(),\n results: z.array(NotionListUsers__NotionUserSchema),\n has_more: z.boolean().nullable(),\n request_id: z.string().nullable().optional(),\n next_cursor: z.string().nullable().optional(),\n}).describe(\"The Notion API response payload for GET /v1/users.\\n\\nIncludes optional fields sometimes added by client wrappers (request_id, type, user).\");\nexport const NotionListUsersOutput = z.object({\n response_data: NotionListUsers__ListUsersPayloadSchema.nullable(),\n});\n\nexport const notionListUsers = action(\"NOTION_LIST_USERS\", {\n slug: \"notion-list-users\",\n name: \"List users\",\n description: \"Retrieves a paginated list of users (excluding guests) from the Notion workspace; the number of users returned per page may be less than the requested `page_size`.\",\n input: NotionListUsersInput,\n output: NotionListUsersOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uBAAuB,EAAE,OAAO;CAC3C,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS;CACzI,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,2HAA2H,CAAC,CAAC,SAAS;AAC1K,CAAC;AACD,MAAM,sCAAsC,EAAE,OAAO,EACnD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS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AK,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS;CAC5B,QAAQ,oCAAoC,SAAS,CAAC,CAAC,SAAS;CAChE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC7C,CAAC,CAAC,CAAC,SAAS,wFAAwF;AACpG,MAAM,0CAA0C,EAAE,OAAO;CACvD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrC,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5D,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS;CAC5B,SAAS,EAAE,MAAM,iCAAiC;CAClD,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS;CAC/B,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3C,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9C,CAAC,CAAC,CAAC,SAAS,6IAA6I;AAKzJ,MAAa,kBAAkB,OAAO,qBAAqB;CACzD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATmC,EAAE,OAAO,EAC5C,eAAe,wCAAwC,SAAS,EAClE,CAOU;AACV,CAAC"}
1
+ {"version":3,"file":"list-users.mjs","names":[],"sources":["../../src/actions/list-users.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NotionListUsersInput = z.object({\n page_size: z.number().int().default(30).describe(\"The desired number of users to retrieve per page. The maximum value is 100.\").optional(),\n start_cursor: z.string().describe(\"If omitted, retrieves the first page of users. Use the 'next_cursor' value from a previous response to get the next page.\").optional(),\n});\nconst NotionListUsers__NotionPersonSchema = z.object({\n email: z.string().nullable().optional(),\n}).passthrough();\nconst NotionListUsers__NotionBotOwnerUserSchema = z.object({\n id: z.string().nullable(),\n name: z.string().nullable().optional(),\n type: z.enum([\"person\", \"bot\"]).nullable().optional(),\n object: z.string().nullable(),\n person: NotionListUsers__NotionPersonSchema.nullable().optional(),\n avatar_url: z.string().nullable().optional(),\n}).passthrough();\nconst NotionListUsers__NotionBotOwnerSchema = z.object({\n type: z.enum([\"workspace\", \"user\"]).nullable().optional(),\n user: NotionListUsers__NotionBotOwnerUserSchema.nullable().optional(),\n workspace: z.boolean().nullable().optional(),\n}).passthrough();\nconst NotionListUsers__NotionWorkspaceLimitsSchema = z.object({\n max_file_upload_size_in_bytes: z.number().int().nullable().optional(),\n}).passthrough();\nconst NotionListUsers__NotionBotSchema = z.object({\n owner: NotionListUsers__NotionBotOwnerSchema.nullable().optional(),\n workspace_id: z.string().nullable().optional(),\n workspace_name: z.string().nullable().optional(),\n workspace_limits: NotionListUsers__NotionWorkspaceLimitsSchema.nullable().optional(),\n}).passthrough();\nconst NotionListUsers__NotionUserSchema = z.object({\n id: z.string().nullable(),\n bot: NotionListUsers__NotionBotSchema.nullable().optional(),\n name: z.string().nullable().optional(),\n type: z.enum([\"person\", \"bot\"]).nullable().optional(),\n object: z.string().nullable(),\n person: NotionListUsers__NotionPersonSchema.nullable().optional(),\n avatar_url: z.string().nullable().optional(),\n}).passthrough().describe(\"Represents a Notion user (person or bot). Mirrors the official Notion API User object.\");\nconst NotionListUsers__ListUsersPayloadSchema = z.object({\n type: z.string().nullable().optional(),\n user: z.record(z.string(), z.unknown()).nullable().optional(),\n object: z.string().nullable(),\n results: z.array(NotionListUsers__NotionUserSchema),\n has_more: z.boolean().nullable(),\n request_id: z.string().nullable().optional(),\n next_cursor: z.string().nullable().optional(),\n}).passthrough().describe(\"The Notion API response payload for GET /v1/users.\\n\\nIncludes optional fields sometimes added by client wrappers (request_id, type, user).\");\nexport const NotionListUsersOutput = z.object({\n response_data: NotionListUsers__ListUsersPayloadSchema.nullable(),\n}).passthrough();\n\nexport const notionListUsers = action(\"NOTION_LIST_USERS\", {\n slug: \"notion-list-users\",\n name: \"List users\",\n description: \"Retrieves a paginated list of users (excluding guests) from the Notion workspace; the number of users returned per page may be less than the requested `page_size`.\",\n input: NotionListUsersInput,\n output: NotionListUsersOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uBAAuB,EAAE,OAAO;CAC3C,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS;CACzI,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,2HAA2H,CAAC,CAAC,SAAS;AAC1K,CAAC;AACD,MAAM,sCAAsC,EAAE,OAAO,EACnD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACxC,CAAC,CAAC,CAAC,YAAY;AACf,MAAM,4CAA4C,EAAE,OAAO;CACzD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS;CACxB,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrC,MAAM,EAAE,KAAK,CAAC,UAAU,KAAK,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS;CAC5B,QAAQ,oCAAoC,SAAS,CAAC,CAAC,SAAS;CAChE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC7C,CAAC,CAAC,CAAC,YAAY;AACf,MAAM,wCAAwC,EAAE,OAAO;CACrD,MAAM,EAAE,KAAK,CAAC,aAAa,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxD,MAAM,0CAA0C,SAAS,CAAC,CAAC,SAAS;CACpE,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC7C,CAAC,CAAC,CAAC,YAAY;AACf,MAAM,+CAA+C,EAAE,OAAO,EAC5D,+BAA+B,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC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,CAAC,SAAS;AAC9C,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6IAA6I;AAKvK,MAAa,kBAAkB,OAAO,qBAAqB;CACzD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATmC,EAAE,OAAO,EAC5C,eAAe,wCAAwC,SAAS,EAClE,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
@@ -5,71 +5,71 @@ const NotionMovePageInput = zod.z.object({
5
5
  parent: zod.z.union([zod.z.object({
6
6
  type: zod.z.string().describe("The constant string 'page_id'."),
7
7
  page_id: zod.z.string().describe("UUID of the parent page (with or without dashes). Must reference an actual page, not a database. If moving to a database, use type='data_source_id' instead.")
8
- }).describe("Parent destination as a page."), zod.z.object({
8
+ }).passthrough().describe("Parent destination as a page."), zod.z.object({
9
9
  type: zod.z.string().describe("The constant string 'data_source_id'."),
10
10
  data_source_id: zod.z.string().describe("UUID of the database's data source (NOT database_id). Retrieve using the database endpoint.")
11
- }).describe("Parent destination as a data source (database).")]),
11
+ }).passthrough().describe("Parent destination as a data source (database).")]),
12
12
  page_id: zod.z.string().describe("The ID of the page to move. UUID format with or without dashes is supported.")
13
13
  });
14
14
  const NotionMovePage_EmojiIconSchema = zod.z.object({
15
15
  type: zod.z.string().describe("Always 'emoji'.").nullable(),
16
16
  emoji: zod.z.string().describe("The emoji character.").nullable()
17
- }).describe("Emoji icon.");
17
+ }).passthrough().describe("Emoji icon.");
18
18
  const NotionMovePage_CustomEmojiMetadataSchema = zod.z.object({
19
19
  id: zod.z.string().describe("Unique identifier for the custom emoji.").nullable(),
20
20
  url: zod.z.string().describe("URL to the custom emoji image.").nullable(),
21
21
  name: zod.z.string().describe("Name of the custom emoji.").nullable()
22
- }).describe("Custom emoji metadata.");
22
+ }).passthrough().describe("Custom emoji metadata.");
23
23
  const NotionMovePage_CustomEmojiIconSchema = zod.z.object({
24
24
  type: zod.z.string().describe("Always 'custom_emoji'.").nullable(),
25
25
  custom_emoji: NotionMovePage_CustomEmojiMetadataSchema.nullable()
26
- }).describe("Custom emoji icon.");
27
- const NotionMovePage_ExternalFileMetadataSchema = zod.z.object({ url: zod.z.string().describe("URL to the externally hosted file.").nullable() }).describe("External file metadata.");
26
+ }).passthrough().describe("Custom emoji icon.");
27
+ const NotionMovePage_ExternalFileMetadataSchema = zod.z.object({ url: zod.z.string().describe("URL to the externally hosted file.").nullable() }).passthrough().describe("External file metadata.");
28
28
  const NotionMovePage_ExternalIconSchema = zod.z.object({
29
29
  type: zod.z.string().describe("Always 'external'.").nullable(),
30
30
  external: NotionMovePage_ExternalFileMetadataSchema.nullable()
31
- }).describe("External file icon.");
31
+ }).passthrough().describe("External file icon.");
32
32
  const NotionMovePage_NotionFileMetadataSchema = zod.z.object({
33
33
  url: zod.z.string().describe("Authenticated HTTP GET URL to the file, valid for one hour.").nullable(),
34
34
  expiry_time: zod.z.string().describe("Timestamp when the URL expires (ISO 8601 format).").nullable()
35
- }).describe("Notion-hosted file metadata.");
35
+ }).passthrough().describe("Notion-hosted file metadata.");
36
36
  const NotionMovePage_NotionFileIconSchema = zod.z.object({
37
37
  file: NotionMovePage_NotionFileMetadataSchema.nullable(),
38
38
  type: zod.z.string().describe("Always 'file'.").nullable()
39
- }).describe("Notion-hosted file icon.");
39
+ }).passthrough().describe("Notion-hosted file icon.");
40
40
  const NotionMovePage_ExternalCoverSchema = zod.z.object({
41
41
  type: zod.z.string().describe("Always 'external'.").nullable(),
42
42
  external: NotionMovePage_ExternalFileMetadataSchema.nullable()
43
- }).describe("External cover image.");
43
+ }).passthrough().describe("External cover image.");
44
44
  const NotionMovePage_NotionFileCoverSchema = zod.z.object({
45
45
  file: NotionMovePage_NotionFileMetadataSchema.nullable(),
46
46
  type: zod.z.string().describe("Always 'file'.").nullable()
47
- }).describe("Notion-hosted cover image.");
47
+ }).passthrough().describe("Notion-hosted cover image.");
48
48
  const NotionMovePage_DatabaseParentSchema = zod.z.object({
49
49
  type: zod.z.string().describe("Always 'database_id'.").nullable(),
50
50
  database_id: zod.z.string().describe("UUID of the parent database.").nullable()
51
- }).describe("Database parent.");
51
+ }).passthrough().describe("Database parent.");
52
52
  const NotionMovePage_DataSourceParentSchema = zod.z.object({
53
53
  type: zod.z.string().describe("Always 'data_source_id'.").nullable(),
54
54
  database_id: zod.z.string().describe("UUID of the containing database (convenience field).").nullable().optional(),
55
55
  data_source_id: zod.z.string().describe("UUID of the parent data source.").nullable()
56
- }).describe("Data source parent.");
56
+ }).passthrough().describe("Data source parent.");
57
57
  const NotionMovePage_PageParentSchema = zod.z.object({
58
58
  type: zod.z.string().describe("Always 'page_id'.").nullable(),
59
59
  page_id: zod.z.string().describe("UUID of the parent page.").nullable()
60
- }).describe("Page parent.");
60
+ }).passthrough().describe("Page parent.");
61
61
  const NotionMovePage_WorkspaceParentSchema = zod.z.object({
62
62
  type: zod.z.string().describe("Always 'workspace'.").nullable(),
63
63
  workspace: zod.z.boolean().describe("Always true.").nullable()
64
- }).describe("Workspace parent.");
64
+ }).passthrough().describe("Workspace parent.");
65
65
  const NotionMovePage_BlockParentSchema = zod.z.object({
66
66
  type: zod.z.string().describe("Always 'block_id'.").nullable(),
67
67
  block_id: zod.z.string().describe("UUID of the parent block.").nullable()
68
- }).describe("Block parent.");
68
+ }).passthrough().describe("Block parent.");
69
69
  const NotionMovePage_PartialUserSchema = zod.z.object({
70
70
  id: zod.z.string().describe("Unique identifier for the user.").nullable(),
71
71
  object: zod.z.string().describe("Always 'user'.").nullable()
72
- }).describe("Partial user object.");
72
+ }).passthrough().describe("Partial user object.");
73
73
  const NotionMovePageOutput = zod.z.object({
74
74
  id: zod.z.string().describe("Unique identifier for the page.").nullable(),
75
75
  url: zod.z.string().describe("The URL of the Notion page.").nullable().optional(),
@@ -96,7 +96,7 @@ const NotionMovePageOutput = zod.z.object({
96
96
  created_time: zod.z.string().describe("Date and time when the page was created (ISO 8601 format).").nullable().optional(),
97
97
  last_edited_by: NotionMovePage_PartialUserSchema.nullable().optional(),
98
98
  last_edited_time: zod.z.string().describe("Date and time when the page was last edited (ISO 8601 format).").nullable().optional()
99
- }).describe("Page object returned after moving a page.");
99
+ }).passthrough().describe("Page object returned after moving a page.");
100
100
  const notionMovePage = require_action.action("NOTION_MOVE_PAGE", {
101
101
  slug: "notion-move-page",
102
102
  name: "Move Page",
@@ -1 +1 @@
1
- {"version":3,"file":"move-page.cjs","names":["z","action"],"sources":["../../src/actions/move-page.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NotionMovePageInput = z.object({\n parent: z.union([z.object({\n type: z.string().describe(\"The constant string 'page_id'.\"),\n page_id: z.string().describe(\"UUID of the parent page (with or without dashes). Must reference an actual page, not a database. If moving to a database, use type='data_source_id' instead.\"),\n}).describe(\"Parent destination as a page.\"), z.object({\n type: z.string().describe(\"The constant string 'data_source_id'.\"),\n data_source_id: z.string().describe(\"UUID of the database's data source (NOT database_id). Retrieve using the database endpoint.\"),\n}).describe(\"Parent destination as a data source (database).\")]),\n page_id: z.string().describe(\"The ID of the page to move. UUID format with or without dashes is supported.\"),\n});\nconst NotionMovePage_EmojiIconSchema = z.object({\n type: z.string().describe(\"Always 'emoji'.\").nullable(),\n emoji: z.string().describe(\"The emoji character.\").nullable(),\n}).describe(\"Emoji icon.\");\nconst NotionMovePage_CustomEmojiMetadataSchema = z.object({\n id: z.string().describe(\"Unique identifier for the custom emoji.\").nullable(),\n url: z.string().describe(\"URL to the custom emoji image.\").nullable(),\n name: z.string().describe(\"Name of the custom emoji.\").nullable(),\n}).describe(\"Custom emoji metadata.\");\nconst NotionMovePage_CustomEmojiIconSchema = z.object({\n type: z.string().describe(\"Always 'custom_emoji'.\").nullable(),\n custom_emoji: NotionMovePage_CustomEmojiMetadataSchema.nullable(),\n}).describe(\"Custom emoji icon.\");\nconst NotionMovePage_ExternalFileMetadataSchema = z.object({\n url: z.string().describe(\"URL to the externally hosted file.\").nullable(),\n}).describe(\"External file metadata.\");\nconst NotionMovePage_ExternalIconSchema = z.object({\n type: z.string().describe(\"Always 'external'.\").nullable(),\n external: NotionMovePage_ExternalFileMetadataSchema.nullable(),\n}).describe(\"External file icon.\");\nconst NotionMovePage_NotionFileMetadataSchema = 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(\"Timestamp when the URL expires (ISO 8601 format).\").nullable(),\n}).describe(\"Notion-hosted file metadata.\");\nconst NotionMovePage_NotionFileIconSchema = z.object({\n file: NotionMovePage_NotionFileMetadataSchema.nullable(),\n type: z.string().describe(\"Always 'file'.\").nullable(),\n}).describe(\"Notion-hosted file icon.\");\nconst NotionMovePage_ExternalCoverSchema = z.object({\n type: z.string().describe(\"Always 'external'.\").nullable(),\n external: NotionMovePage_ExternalFileMetadataSchema.nullable(),\n}).describe(\"External cover image.\");\nconst NotionMovePage_NotionFileCoverSchema = z.object({\n file: NotionMovePage_NotionFileMetadataSchema.nullable(),\n type: z.string().describe(\"Always 'file'.\").nullable(),\n}).describe(\"Notion-hosted cover image.\");\nconst NotionMovePage_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}).describe(\"Database parent.\");\nconst NotionMovePage_DataSourceParentSchema = z.object({\n type: z.string().describe(\"Always 'data_source_id'.\").nullable(),\n database_id: z.string().describe(\"UUID of the containing database (convenience field).\").nullable().optional(),\n data_source_id: z.string().describe(\"UUID of the parent data source.\").nullable(),\n}).describe(\"Data source parent.\");\nconst NotionMovePage_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}).describe(\"Page parent.\");\nconst NotionMovePage_WorkspaceParentSchema = z.object({\n type: z.string().describe(\"Always 'workspace'.\").nullable(),\n workspace: z.boolean().describe(\"Always true.\").nullable(),\n}).describe(\"Workspace parent.\");\nconst NotionMovePage_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}).describe(\"Block parent.\");\nconst NotionMovePage_PartialUserSchema = z.object({\n id: z.string().describe(\"Unique identifier for the user.\").nullable(),\n object: z.string().describe(\"Always 'user'.\").nullable(),\n}).describe(\"Partial user object.\");\nexport const NotionMovePageOutput = z.object({\n id: z.string().describe(\"Unique identifier for the page.\").nullable(),\n url: z.string().describe(\"The URL of the Notion page.\").nullable().optional(),\n icon: z.union([NotionMovePage_EmojiIconSchema, NotionMovePage_CustomEmojiIconSchema, NotionMovePage_ExternalIconSchema, NotionMovePage_NotionFileIconSchema]).nullable().optional(),\n cover: z.union([NotionMovePage_ExternalCoverSchema, NotionMovePage_NotionFileCoverSchema]).nullable().optional(),\n object: z.string().describe(\"Always 'page'.\").nullable(),\n parent: z.union([NotionMovePage_DatabaseParentSchema, NotionMovePage_DataSourceParentSchema, NotionMovePage_PageParentSchema, NotionMovePage_WorkspaceParentSchema, NotionMovePage_BlockParentSchema]).nullable().optional(),\n archived: z.boolean().describe(\"Whether the page has been archived.\").nullable().optional(),\n in_trash: z.boolean().describe(\"Whether the page is in the trash.\").nullable().optional(),\n created_by: NotionMovePage_PartialUserSchema.nullable().optional(),\n properties: z.record(z.string(), z.unknown()).describe(\"Property values of the page.\").nullable().optional(),\n public_url: z.string().describe(\"The public URL if the page has been published to the web, otherwise null.\").nullable().optional(),\n created_time: z.string().describe(\"Date and time when the page was created (ISO 8601 format).\").nullable().optional(),\n last_edited_by: NotionMovePage_PartialUserSchema.nullable().optional(),\n last_edited_time: z.string().describe(\"Date and time when the page was last edited (ISO 8601 format).\").nullable().optional(),\n}).describe(\"Page object returned after moving a page.\");\n\nexport const notionMovePage = action(\"NOTION_MOVE_PAGE\", {\n slug: \"notion-move-page\",\n name: \"Move Page\",\n description: \"Tool to move a Notion page to a new parent (page or database). Use when you need to reorganize page hierarchy. Important: To move to a database, use data_source_id (NOT database_id). Get the data source ID from the database object using NOTION_FETCH_DAT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SAAS,CAAC,CAAC,SAAS;CAC3G,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjI,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpH,gBAAgB,iCAAiC,SAAS,CAAC,CAAC,SAAS;CACrE,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9H,CAAC,CAAC,CAAC,SAAS,2CAA2C;AAEvD,MAAa,iBAAiBC,eAAAA,OAAO,oBAAoB;CACvD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"move-page.cjs","names":["z","action"],"sources":["../../src/actions/move-page.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NotionMovePageInput = z.object({\n parent: z.union([z.object({\n type: z.string().describe(\"The constant string 'page_id'.\"),\n page_id: z.string().describe(\"UUID of the parent page (with or without dashes). Must reference an actual page, not a database. If moving to a database, use type='data_source_id' instead.\"),\n}).passthrough().describe(\"Parent destination as a page.\"), z.object({\n type: z.string().describe(\"The constant string 'data_source_id'.\"),\n data_source_id: z.string().describe(\"UUID of the database's data source (NOT database_id). Retrieve using the database endpoint.\"),\n}).passthrough().describe(\"Parent destination as a data source (database).\")]),\n page_id: z.string().describe(\"The ID of the page to move. UUID format with or without dashes is supported.\"),\n});\nconst NotionMovePage_EmojiIconSchema = z.object({\n type: z.string().describe(\"Always 'emoji'.\").nullable(),\n emoji: z.string().describe(\"The emoji character.\").nullable(),\n}).passthrough().describe(\"Emoji icon.\");\nconst NotionMovePage_CustomEmojiMetadataSchema = z.object({\n id: z.string().describe(\"Unique identifier for the custom emoji.\").nullable(),\n url: z.string().describe(\"URL to the custom emoji image.\").nullable(),\n name: z.string().describe(\"Name of the custom emoji.\").nullable(),\n}).passthrough().describe(\"Custom emoji metadata.\");\nconst NotionMovePage_CustomEmojiIconSchema = z.object({\n type: z.string().describe(\"Always 'custom_emoji'.\").nullable(),\n custom_emoji: NotionMovePage_CustomEmojiMetadataSchema.nullable(),\n}).passthrough().describe(\"Custom emoji icon.\");\nconst NotionMovePage_ExternalFileMetadataSchema = z.object({\n url: z.string().describe(\"URL to the externally hosted file.\").nullable(),\n}).passthrough().describe(\"External file metadata.\");\nconst NotionMovePage_ExternalIconSchema = z.object({\n type: z.string().describe(\"Always 'external'.\").nullable(),\n external: NotionMovePage_ExternalFileMetadataSchema.nullable(),\n}).passthrough().describe(\"External file icon.\");\nconst NotionMovePage_NotionFileMetadataSchema = 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(\"Timestamp when the URL expires (ISO 8601 format).\").nullable(),\n}).passthrough().describe(\"Notion-hosted file metadata.\");\nconst NotionMovePage_NotionFileIconSchema = z.object({\n file: NotionMovePage_NotionFileMetadataSchema.nullable(),\n type: z.string().describe(\"Always 'file'.\").nullable(),\n}).passthrough().describe(\"Notion-hosted file icon.\");\nconst NotionMovePage_ExternalCoverSchema = z.object({\n type: z.string().describe(\"Always 'external'.\").nullable(),\n external: NotionMovePage_ExternalFileMetadataSchema.nullable(),\n}).passthrough().describe(\"External cover image.\");\nconst NotionMovePage_NotionFileCoverSchema = z.object({\n file: NotionMovePage_NotionFileMetadataSchema.nullable(),\n type: z.string().describe(\"Always 'file'.\").nullable(),\n}).passthrough().describe(\"Notion-hosted cover image.\");\nconst NotionMovePage_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().describe(\"Database parent.\");\nconst NotionMovePage_DataSourceParentSchema = z.object({\n type: z.string().describe(\"Always 'data_source_id'.\").nullable(),\n database_id: z.string().describe(\"UUID of the containing database (convenience field).\").nullable().optional(),\n data_source_id: z.string().describe(\"UUID of the parent data source.\").nullable(),\n}).passthrough().describe(\"Data source parent.\");\nconst NotionMovePage_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().describe(\"Page parent.\");\nconst NotionMovePage_WorkspaceParentSchema = z.object({\n type: z.string().describe(\"Always 'workspace'.\").nullable(),\n workspace: z.boolean().describe(\"Always true.\").nullable(),\n}).passthrough().describe(\"Workspace parent.\");\nconst NotionMovePage_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().describe(\"Block parent.\");\nconst NotionMovePage_PartialUserSchema = z.object({\n id: z.string().describe(\"Unique identifier for the user.\").nullable(),\n object: z.string().describe(\"Always 'user'.\").nullable(),\n}).passthrough().describe(\"Partial user object.\");\nexport const NotionMovePageOutput = z.object({\n id: z.string().describe(\"Unique identifier for the page.\").nullable(),\n url: z.string().describe(\"The URL of the Notion page.\").nullable().optional(),\n icon: z.union([NotionMovePage_EmojiIconSchema, NotionMovePage_CustomEmojiIconSchema, NotionMovePage_ExternalIconSchema, NotionMovePage_NotionFileIconSchema]).nullable().optional(),\n cover: z.union([NotionMovePage_ExternalCoverSchema, NotionMovePage_NotionFileCoverSchema]).nullable().optional(),\n object: z.string().describe(\"Always 'page'.\").nullable(),\n parent: z.union([NotionMovePage_DatabaseParentSchema, NotionMovePage_DataSourceParentSchema, NotionMovePage_PageParentSchema, NotionMovePage_WorkspaceParentSchema, NotionMovePage_BlockParentSchema]).nullable().optional(),\n archived: z.boolean().describe(\"Whether the page has been archived.\").nullable().optional(),\n in_trash: z.boolean().describe(\"Whether the page is in the trash.\").nullable().optional(),\n created_by: NotionMovePage_PartialUserSchema.nullable().optional(),\n properties: z.record(z.string(), z.unknown()).describe(\"Property values of the page.\").nullable().optional(),\n public_url: z.string().describe(\"The public URL if the page has been published to the web, otherwise null.\").nullable().optional(),\n created_time: z.string().describe(\"Date and time when the page was created (ISO 8601 format).\").nullable().optional(),\n last_edited_by: NotionMovePage_PartialUserSchema.nullable().optional(),\n last_edited_time: z.string().describe(\"Date and time when the page was last edited (ISO 8601 format).\").nullable().optional(),\n}).passthrough().describe(\"Page object returned after moving a page.\");\n\nexport const notionMovePage = action(\"NOTION_MOVE_PAGE\", {\n slug: \"notion-move-page\",\n name: \"Move Page\",\n description: \"Tool to move a Notion page to a new parent (page or database). Use when you need to reorganize page hierarchy. Important: To move to a database, use data_source_id (NOT database_id). Get the data source ID from the database object using NOTION_FETCH_DATABASE.\",\n input: NotionMovePageInput,\n output: NotionMovePageOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sBAAsBA,IAAAA,EAAE,OAAO;CAC1C,QAAQA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,OAAO;EAC1B,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC;EAC1D,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8JAA8J;CAC7L,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+BAA+B,GAAGA,IAAAA,EAAE,OAAO;EACnE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;EACjE,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6FAA6F;CACnI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC;CAC3E,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E;AAC7G,CAAC;AACD,MAAM,iCAAiCA,IAAAA,EAAE,OAAO;CAC9C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS;CACtD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC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