@keystrokehq/notion 0.0.16 → 0.1.0
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.
- package/README.md +11 -41
- package/dist/action.cjs +21 -0
- package/dist/action.cjs.map +1 -0
- package/dist/action.mjs +21 -0
- package/dist/action.mjs.map +1 -0
- package/dist/actions/add-multiple-page-content.cjs +80 -0
- package/dist/actions/add-multiple-page-content.cjs.map +1 -0
- package/dist/actions/add-multiple-page-content.d.cts +9 -0
- package/dist/actions/add-multiple-page-content.d.cts.map +1 -0
- package/dist/actions/add-multiple-page-content.d.mts +9 -0
- package/dist/actions/add-multiple-page-content.d.mts.map +1 -0
- package/dist/actions/add-multiple-page-content.mjs +79 -0
- package/dist/actions/add-multiple-page-content.mjs.map +1 -0
- package/dist/actions/append-code-blocks.cjs +446 -0
- package/dist/actions/append-code-blocks.cjs.map +1 -0
- package/dist/actions/append-code-blocks.d.cts +9 -0
- package/dist/actions/append-code-blocks.d.cts.map +1 -0
- package/dist/actions/append-code-blocks.d.mts +9 -0
- package/dist/actions/append-code-blocks.d.mts.map +1 -0
- package/dist/actions/append-code-blocks.mjs +445 -0
- package/dist/actions/append-code-blocks.mjs.map +1 -0
- package/dist/actions/append-layout-blocks.cjs +278 -0
- package/dist/actions/append-layout-blocks.cjs.map +1 -0
- package/dist/actions/append-layout-blocks.d.cts +9 -0
- package/dist/actions/append-layout-blocks.d.cts.map +1 -0
- package/dist/actions/append-layout-blocks.d.mts +9 -0
- package/dist/actions/append-layout-blocks.d.mts.map +1 -0
- package/dist/actions/append-layout-blocks.mjs +277 -0
- package/dist/actions/append-layout-blocks.mjs.map +1 -0
- package/dist/actions/append-media-blocks.cjs +491 -0
- package/dist/actions/append-media-blocks.cjs.map +1 -0
- package/dist/actions/append-media-blocks.d.cts +9 -0
- package/dist/actions/append-media-blocks.d.cts.map +1 -0
- package/dist/actions/append-media-blocks.d.mts +9 -0
- package/dist/actions/append-media-blocks.d.mts.map +1 -0
- package/dist/actions/append-media-blocks.mjs +490 -0
- package/dist/actions/append-media-blocks.mjs.map +1 -0
- package/dist/actions/append-table-blocks.cjs +267 -0
- package/dist/actions/append-table-blocks.cjs.map +1 -0
- package/dist/actions/append-table-blocks.d.cts +9 -0
- package/dist/actions/append-table-blocks.d.cts.map +1 -0
- package/dist/actions/append-table-blocks.d.mts +9 -0
- package/dist/actions/append-table-blocks.d.mts.map +1 -0
- package/dist/actions/append-table-blocks.mjs +266 -0
- package/dist/actions/append-table-blocks.mjs.map +1 -0
- package/dist/actions/append-task-blocks.cjs +420 -0
- package/dist/actions/append-task-blocks.cjs.map +1 -0
- package/dist/actions/append-task-blocks.d.cts +9 -0
- package/dist/actions/append-task-blocks.d.cts.map +1 -0
- package/dist/actions/append-task-blocks.d.mts +9 -0
- package/dist/actions/append-task-blocks.d.mts.map +1 -0
- package/dist/actions/append-task-blocks.mjs +419 -0
- package/dist/actions/append-task-blocks.mjs.map +1 -0
- package/dist/actions/append-text-blocks.cjs +604 -0
- package/dist/actions/append-text-blocks.cjs.map +1 -0
- package/dist/actions/append-text-blocks.d.cts +9 -0
- package/dist/actions/append-text-blocks.d.cts.map +1 -0
- package/dist/actions/append-text-blocks.d.mts +9 -0
- package/dist/actions/append-text-blocks.d.mts.map +1 -0
- package/dist/actions/append-text-blocks.mjs +603 -0
- package/dist/actions/append-text-blocks.mjs.map +1 -0
- package/dist/actions/archive-notion-page.cjs +104 -0
- package/dist/actions/archive-notion-page.cjs.map +1 -0
- package/dist/actions/archive-notion-page.d.cts +9 -0
- package/dist/actions/archive-notion-page.d.cts.map +1 -0
- package/dist/actions/archive-notion-page.d.mts +9 -0
- package/dist/actions/archive-notion-page.d.mts.map +1 -0
- package/dist/actions/archive-notion-page.mjs +103 -0
- package/dist/actions/archive-notion-page.mjs.map +1 -0
- package/dist/actions/create-comment.cjs +45 -0
- package/dist/actions/create-comment.cjs.map +1 -0
- package/dist/actions/create-comment.d.cts +9 -0
- package/dist/actions/create-comment.d.cts.map +1 -0
- package/dist/actions/create-comment.d.mts +9 -0
- package/dist/actions/create-comment.d.mts.map +1 -0
- package/dist/actions/create-comment.mjs +42 -0
- package/dist/actions/create-comment.mjs.map +1 -0
- package/dist/actions/create-database.cjs +125 -0
- package/dist/actions/create-database.cjs.map +1 -0
- package/dist/actions/create-database.d.cts +9 -0
- package/dist/actions/create-database.d.cts.map +1 -0
- package/dist/actions/create-database.d.mts +9 -0
- package/dist/actions/create-database.d.mts.map +1 -0
- package/dist/actions/create-database.mjs +124 -0
- package/dist/actions/create-database.mjs.map +1 -0
- package/dist/actions/create-file-upload.cjs +45 -0
- package/dist/actions/create-file-upload.cjs.map +1 -0
- package/dist/actions/create-file-upload.d.cts +9 -0
- package/dist/actions/create-file-upload.d.cts.map +1 -0
- package/dist/actions/create-file-upload.d.mts +9 -0
- package/dist/actions/create-file-upload.d.mts.map +1 -0
- package/dist/actions/create-file-upload.mjs +42 -0
- package/dist/actions/create-file-upload.mjs.map +1 -0
- package/dist/actions/create-notion-page.cjs +94 -0
- package/dist/actions/create-notion-page.cjs.map +1 -0
- package/dist/actions/create-notion-page.d.cts +9 -0
- package/dist/actions/create-notion-page.d.cts.map +1 -0
- package/dist/actions/create-notion-page.d.mts +9 -0
- package/dist/actions/create-notion-page.d.mts.map +1 -0
- package/dist/actions/create-notion-page.mjs +93 -0
- package/dist/actions/create-notion-page.mjs.map +1 -0
- package/dist/actions/delete-block.cjs +411 -0
- package/dist/actions/delete-block.cjs.map +1 -0
- package/dist/actions/delete-block.d.cts +9 -0
- package/dist/actions/delete-block.d.cts.map +1 -0
- package/dist/actions/delete-block.d.mts +9 -0
- package/dist/actions/delete-block.d.mts.map +1 -0
- package/dist/actions/delete-block.mjs +410 -0
- package/dist/actions/delete-block.mjs.map +1 -0
- package/dist/actions/duplicate-page.cjs +119 -0
- package/dist/actions/duplicate-page.cjs.map +1 -0
- package/dist/actions/duplicate-page.d.cts +9 -0
- package/dist/actions/duplicate-page.d.cts.map +1 -0
- package/dist/actions/duplicate-page.d.mts +9 -0
- package/dist/actions/duplicate-page.d.mts.map +1 -0
- package/dist/actions/duplicate-page.mjs +118 -0
- package/dist/actions/duplicate-page.mjs.map +1 -0
- package/dist/actions/fetch-all-block-contents.cjs +270 -0
- package/dist/actions/fetch-all-block-contents.cjs.map +1 -0
- package/dist/actions/fetch-all-block-contents.d.cts +9 -0
- package/dist/actions/fetch-all-block-contents.d.cts.map +1 -0
- package/dist/actions/fetch-all-block-contents.d.mts +9 -0
- package/dist/actions/fetch-all-block-contents.d.mts.map +1 -0
- package/dist/actions/fetch-all-block-contents.mjs +269 -0
- package/dist/actions/fetch-all-block-contents.mjs.map +1 -0
- package/dist/actions/fetch-block-contents.cjs +232 -0
- package/dist/actions/fetch-block-contents.cjs.map +1 -0
- package/dist/actions/fetch-block-contents.d.cts +9 -0
- package/dist/actions/fetch-block-contents.d.cts.map +1 -0
- package/dist/actions/fetch-block-contents.d.mts +9 -0
- package/dist/actions/fetch-block-contents.d.mts.map +1 -0
- package/dist/actions/fetch-block-contents.mjs +231 -0
- package/dist/actions/fetch-block-contents.mjs.map +1 -0
- package/dist/actions/fetch-block-metadata.cjs +406 -0
- package/dist/actions/fetch-block-metadata.cjs.map +1 -0
- package/dist/actions/fetch-block-metadata.d.cts +9 -0
- package/dist/actions/fetch-block-metadata.d.cts.map +1 -0
- package/dist/actions/fetch-block-metadata.d.mts +9 -0
- package/dist/actions/fetch-block-metadata.d.mts.map +1 -0
- package/dist/actions/fetch-block-metadata.mjs +405 -0
- package/dist/actions/fetch-block-metadata.mjs.map +1 -0
- package/dist/actions/fetch-comments.cjs +136 -0
- package/dist/actions/fetch-comments.cjs.map +1 -0
- package/dist/actions/fetch-comments.d.cts +9 -0
- package/dist/actions/fetch-comments.d.cts.map +1 -0
- package/dist/actions/fetch-comments.d.mts +9 -0
- package/dist/actions/fetch-comments.d.mts.map +1 -0
- package/dist/actions/fetch-comments.mjs +135 -0
- package/dist/actions/fetch-comments.mjs.map +1 -0
- package/dist/actions/fetch-data.cjs +227 -0
- package/dist/actions/fetch-data.cjs.map +1 -0
- package/dist/actions/fetch-data.d.cts +9 -0
- package/dist/actions/fetch-data.d.cts.map +1 -0
- package/dist/actions/fetch-data.d.mts +9 -0
- package/dist/actions/fetch-data.d.mts.map +1 -0
- package/dist/actions/fetch-data.mjs +226 -0
- package/dist/actions/fetch-data.mjs.map +1 -0
- package/dist/actions/fetch-database.cjs +84 -0
- package/dist/actions/fetch-database.cjs.map +1 -0
- package/dist/actions/fetch-database.d.cts +9 -0
- package/dist/actions/fetch-database.d.cts.map +1 -0
- package/dist/actions/fetch-database.d.mts +9 -0
- package/dist/actions/fetch-database.d.mts.map +1 -0
- package/dist/actions/fetch-database.mjs +83 -0
- package/dist/actions/fetch-database.mjs.map +1 -0
- package/dist/actions/fetch-row.cjs +133 -0
- package/dist/actions/fetch-row.cjs.map +1 -0
- package/dist/actions/fetch-row.d.cts +9 -0
- package/dist/actions/fetch-row.d.cts.map +1 -0
- package/dist/actions/fetch-row.d.mts +9 -0
- package/dist/actions/fetch-row.d.mts.map +1 -0
- package/dist/actions/fetch-row.mjs +132 -0
- package/dist/actions/fetch-row.mjs.map +1 -0
- package/dist/actions/get-about-user.cjs +46 -0
- package/dist/actions/get-about-user.cjs.map +1 -0
- package/dist/actions/get-about-user.d.cts +9 -0
- package/dist/actions/get-about-user.d.cts.map +1 -0
- package/dist/actions/get-about-user.d.mts +9 -0
- package/dist/actions/get-about-user.d.mts.map +1 -0
- package/dist/actions/get-about-user.mjs +45 -0
- package/dist/actions/get-about-user.mjs.map +1 -0
- package/dist/actions/get-page-markdown.cjs +25 -0
- package/dist/actions/get-page-markdown.cjs.map +1 -0
- package/dist/actions/get-page-markdown.d.cts +9 -0
- package/dist/actions/get-page-markdown.d.cts.map +1 -0
- package/dist/actions/get-page-markdown.d.mts +9 -0
- package/dist/actions/get-page-markdown.d.mts.map +1 -0
- package/dist/actions/get-page-markdown.mjs +22 -0
- package/dist/actions/get-page-markdown.mjs.map +1 -0
- package/dist/actions/get-page-property-action.cjs +21 -0
- package/dist/actions/get-page-property-action.cjs.map +1 -0
- package/dist/actions/get-page-property-action.d.cts +9 -0
- package/dist/actions/get-page-property-action.d.cts.map +1 -0
- package/dist/actions/get-page-property-action.d.mts +9 -0
- package/dist/actions/get-page-property-action.d.mts.map +1 -0
- package/dist/actions/get-page-property-action.mjs +18 -0
- package/dist/actions/get-page-property-action.mjs.map +1 -0
- package/dist/actions/index.cjs +91 -0
- package/dist/actions/index.d.cts +46 -0
- package/dist/actions/index.d.mts +46 -0
- package/dist/actions/index.mjs +46 -0
- package/dist/actions/insert-row-database.cjs +176 -0
- package/dist/actions/insert-row-database.cjs.map +1 -0
- package/dist/actions/insert-row-database.d.cts +9 -0
- package/dist/actions/insert-row-database.d.cts.map +1 -0
- package/dist/actions/insert-row-database.d.mts +9 -0
- package/dist/actions/insert-row-database.d.mts.map +1 -0
- package/dist/actions/insert-row-database.mjs +175 -0
- package/dist/actions/insert-row-database.mjs.map +1 -0
- package/dist/actions/insert-row-from-nl.cjs +27 -0
- package/dist/actions/insert-row-from-nl.cjs.map +1 -0
- package/dist/actions/insert-row-from-nl.d.cts +9 -0
- package/dist/actions/insert-row-from-nl.d.cts.map +1 -0
- package/dist/actions/insert-row-from-nl.d.mts +9 -0
- package/dist/actions/insert-row-from-nl.d.mts.map +1 -0
- package/dist/actions/insert-row-from-nl.mjs +24 -0
- package/dist/actions/insert-row-from-nl.mjs.map +1 -0
- package/dist/actions/list-data-source-templates.cjs +29 -0
- package/dist/actions/list-data-source-templates.cjs.map +1 -0
- package/dist/actions/list-data-source-templates.d.cts +9 -0
- package/dist/actions/list-data-source-templates.d.cts.map +1 -0
- package/dist/actions/list-data-source-templates.d.mts +9 -0
- package/dist/actions/list-data-source-templates.d.mts.map +1 -0
- package/dist/actions/list-data-source-templates.mjs +28 -0
- package/dist/actions/list-data-source-templates.mjs.map +1 -0
- package/dist/actions/list-file-uploads.cjs +43 -0
- package/dist/actions/list-file-uploads.cjs.map +1 -0
- package/dist/actions/list-file-uploads.d.cts +9 -0
- package/dist/actions/list-file-uploads.d.cts.map +1 -0
- package/dist/actions/list-file-uploads.d.mts +9 -0
- package/dist/actions/list-file-uploads.d.mts.map +1 -0
- package/dist/actions/list-file-uploads.mjs +42 -0
- package/dist/actions/list-file-uploads.mjs.map +1 -0
- package/dist/actions/list-users.cjs +58 -0
- package/dist/actions/list-users.cjs.map +1 -0
- package/dist/actions/list-users.d.cts +9 -0
- package/dist/actions/list-users.d.cts.map +1 -0
- package/dist/actions/list-users.d.mts +9 -0
- package/dist/actions/list-users.d.mts.map +1 -0
- package/dist/actions/list-users.mjs +57 -0
- package/dist/actions/list-users.mjs.map +1 -0
- package/dist/actions/move-page.cjs +110 -0
- package/dist/actions/move-page.cjs.map +1 -0
- package/dist/actions/move-page.d.cts +9 -0
- package/dist/actions/move-page.d.cts.map +1 -0
- package/dist/actions/move-page.d.mts +9 -0
- package/dist/actions/move-page.d.mts.map +1 -0
- package/dist/actions/move-page.mjs +109 -0
- package/dist/actions/move-page.mjs.map +1 -0
- package/dist/actions/query-data-source.cjs +118 -0
- package/dist/actions/query-data-source.cjs.map +1 -0
- package/dist/actions/query-data-source.d.cts +9 -0
- package/dist/actions/query-data-source.d.cts.map +1 -0
- package/dist/actions/query-data-source.d.mts +9 -0
- package/dist/actions/query-data-source.d.mts.map +1 -0
- package/dist/actions/query-data-source.mjs +117 -0
- package/dist/actions/query-data-source.mjs.map +1 -0
- package/dist/actions/query-database-with-filter.cjs +172 -0
- package/dist/actions/query-database-with-filter.cjs.map +1 -0
- package/dist/actions/query-database-with-filter.d.cts +9 -0
- package/dist/actions/query-database-with-filter.d.cts.map +1 -0
- package/dist/actions/query-database-with-filter.d.mts +9 -0
- package/dist/actions/query-database-with-filter.d.mts.map +1 -0
- package/dist/actions/query-database-with-filter.mjs +171 -0
- package/dist/actions/query-database-with-filter.mjs.map +1 -0
- package/dist/actions/query-database.cjs +171 -0
- package/dist/actions/query-database.cjs.map +1 -0
- package/dist/actions/query-database.d.cts +9 -0
- package/dist/actions/query-database.d.cts.map +1 -0
- package/dist/actions/query-database.d.mts +9 -0
- package/dist/actions/query-database.d.mts.map +1 -0
- package/dist/actions/query-database.mjs +170 -0
- package/dist/actions/query-database.mjs.map +1 -0
- package/dist/actions/replace-page-content.cjs +1175 -0
- package/dist/actions/replace-page-content.cjs.map +1 -0
- package/dist/actions/replace-page-content.d.cts +9 -0
- package/dist/actions/replace-page-content.d.cts.map +1 -0
- package/dist/actions/replace-page-content.d.mts +9 -0
- package/dist/actions/replace-page-content.d.mts.map +1 -0
- package/dist/actions/replace-page-content.mjs +1172 -0
- package/dist/actions/replace-page-content.mjs.map +1 -0
- package/dist/actions/retrieve-comment.cjs +16 -0
- package/dist/actions/retrieve-comment.cjs.map +1 -0
- package/dist/actions/retrieve-comment.d.cts +9 -0
- package/dist/actions/retrieve-comment.d.cts.map +1 -0
- package/dist/actions/retrieve-comment.d.mts +9 -0
- package/dist/actions/retrieve-comment.d.mts.map +1 -0
- package/dist/actions/retrieve-comment.mjs +13 -0
- package/dist/actions/retrieve-comment.mjs.map +1 -0
- package/dist/actions/retrieve-database-property.cjs +80 -0
- package/dist/actions/retrieve-database-property.cjs.map +1 -0
- package/dist/actions/retrieve-database-property.d.cts +9 -0
- package/dist/actions/retrieve-database-property.d.cts.map +1 -0
- package/dist/actions/retrieve-database-property.d.mts +9 -0
- package/dist/actions/retrieve-database-property.d.mts.map +1 -0
- package/dist/actions/retrieve-database-property.mjs +79 -0
- package/dist/actions/retrieve-database-property.mjs.map +1 -0
- package/dist/actions/retrieve-file-upload.cjs +34 -0
- package/dist/actions/retrieve-file-upload.cjs.map +1 -0
- package/dist/actions/retrieve-file-upload.d.cts +9 -0
- package/dist/actions/retrieve-file-upload.d.cts.map +1 -0
- package/dist/actions/retrieve-file-upload.d.mts +9 -0
- package/dist/actions/retrieve-file-upload.d.mts.map +1 -0
- package/dist/actions/retrieve-file-upload.mjs +31 -0
- package/dist/actions/retrieve-file-upload.mjs.map +1 -0
- package/dist/actions/retrieve-page.cjs +129 -0
- package/dist/actions/retrieve-page.cjs.map +1 -0
- package/dist/actions/retrieve-page.d.cts +9 -0
- package/dist/actions/retrieve-page.d.cts.map +1 -0
- package/dist/actions/retrieve-page.d.mts +9 -0
- package/dist/actions/retrieve-page.d.mts.map +1 -0
- package/dist/actions/retrieve-page.mjs +128 -0
- package/dist/actions/retrieve-page.mjs.map +1 -0
- package/dist/actions/search-notion-page.cjs +245 -0
- package/dist/actions/search-notion-page.cjs.map +1 -0
- package/dist/actions/search-notion-page.d.cts +9 -0
- package/dist/actions/search-notion-page.d.cts.map +1 -0
- package/dist/actions/search-notion-page.d.mts +9 -0
- package/dist/actions/search-notion-page.d.mts.map +1 -0
- package/dist/actions/search-notion-page.mjs +244 -0
- package/dist/actions/search-notion-page.mjs.map +1 -0
- package/dist/actions/send-file-upload.cjs +37 -0
- package/dist/actions/send-file-upload.cjs.map +1 -0
- package/dist/actions/send-file-upload.d.cts +9 -0
- package/dist/actions/send-file-upload.d.cts.map +1 -0
- package/dist/actions/send-file-upload.d.mts +9 -0
- package/dist/actions/send-file-upload.d.mts.map +1 -0
- package/dist/actions/send-file-upload.mjs +34 -0
- package/dist/actions/send-file-upload.mjs.map +1 -0
- package/dist/actions/update-block.cjs +250 -0
- package/dist/actions/update-block.cjs.map +1 -0
- package/dist/actions/update-block.d.cts +9 -0
- package/dist/actions/update-block.d.cts.map +1 -0
- package/dist/actions/update-block.d.mts +9 -0
- package/dist/actions/update-block.d.mts.map +1 -0
- package/dist/actions/update-block.mjs +249 -0
- package/dist/actions/update-block.mjs.map +1 -0
- package/dist/actions/update-page.cjs +115 -0
- package/dist/actions/update-page.cjs.map +1 -0
- package/dist/actions/update-page.d.cts +9 -0
- package/dist/actions/update-page.d.cts.map +1 -0
- package/dist/actions/update-page.d.mts +9 -0
- package/dist/actions/update-page.d.mts.map +1 -0
- package/dist/actions/update-page.mjs +114 -0
- package/dist/actions/update-page.mjs.map +1 -0
- package/dist/actions/update-row-database.cjs +149 -0
- package/dist/actions/update-row-database.cjs.map +1 -0
- package/dist/actions/update-row-database.d.cts +9 -0
- package/dist/actions/update-row-database.d.cts.map +1 -0
- package/dist/actions/update-row-database.d.mts +9 -0
- package/dist/actions/update-row-database.d.mts.map +1 -0
- package/dist/actions/update-row-database.mjs +148 -0
- package/dist/actions/update-row-database.mjs.map +1 -0
- package/dist/actions/update-schema-database.cjs +198 -0
- package/dist/actions/update-schema-database.cjs.map +1 -0
- package/dist/actions/update-schema-database.d.cts +9 -0
- package/dist/actions/update-schema-database.d.cts.map +1 -0
- package/dist/actions/update-schema-database.d.mts +9 -0
- package/dist/actions/update-schema-database.d.mts.map +1 -0
- package/dist/actions/update-schema-database.mjs +197 -0
- package/dist/actions/update-schema-database.mjs.map +1 -0
- package/dist/actions/upsert-row-database.cjs +141 -0
- package/dist/actions/upsert-row-database.cjs.map +1 -0
- package/dist/actions/upsert-row-database.d.cts +9 -0
- package/dist/actions/upsert-row-database.d.cts.map +1 -0
- package/dist/actions/upsert-row-database.d.mts +9 -0
- package/dist/actions/upsert-row-database.d.mts.map +1 -0
- package/dist/actions/upsert-row-database.mjs +140 -0
- package/dist/actions/upsert-row-database.mjs.map +1 -0
- package/dist/app.cjs +9 -0
- package/dist/app.cjs.map +1 -0
- package/dist/app.d.cts +5 -0
- package/dist/app.d.cts.map +1 -0
- package/dist/app.d.mts +5 -0
- package/dist/app.d.mts.map +1 -0
- package/dist/app.mjs +10 -0
- package/dist/app.mjs.map +1 -0
- package/dist/catalog.cjs +15 -0
- package/dist/catalog.cjs.map +1 -0
- package/dist/catalog.d.cts +14 -0
- package/dist/catalog.d.cts.map +1 -0
- package/dist/catalog.d.mts +14 -0
- package/dist/catalog.d.mts.map +1 -0
- package/dist/catalog.mjs +15 -0
- package/dist/catalog.mjs.map +1 -0
- package/dist/execute.cjs +18 -0
- package/dist/execute.cjs.map +1 -0
- package/dist/execute.mjs +18 -0
- package/dist/execute.mjs.map +1 -0
- package/dist/index.cjs +96 -0
- package/dist/index.d.cts +48 -0
- package/dist/index.d.mts +48 -5
- package/dist/index.mjs +49 -7
- package/package.json +31 -53
- package/LICENSE +0 -21
- package/dist/credential-sets/index.d.mts +0 -2
- package/dist/credential-sets/index.mjs +0 -4
- package/dist/notion-webhook.credential-set-5tXWld_L.d.mts +0 -53
- package/dist/notion-webhook.credential-set-D_tczh8M.mjs +0 -25
- package/dist/notion.credential-set-BfA-EG9z.mjs +0 -44
- package/dist/operations/index.d.mts +0 -1104
- package/dist/operations/index.mjs +0 -32
- package/dist/schemas/index.d.mts +0 -190
- package/dist/schemas/index.mjs +0 -3
- package/dist/search-D4wvUAjS.mjs +0 -277
- package/dist/update-page.operation-6lf05oVs.d.mts +0 -1147
- package/dist/update-page.operation-BQWJrCll.mjs +0 -794
|
@@ -0,0 +1,269 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/actions/fetch-all-block-contents.ts
|
|
4
|
+
const NotionFetchAllBlockContentsInput = z.object({
|
|
5
|
+
block_id: z.string().describe("Identifier (UUID) of the parent Notion block or page whose children to list. Pages are blocks in Notion. Accepts UUIDs with or without hyphens (e.g., 'c02fc1d3-db8b-45c5-a222-27595b15aea7' or 'c02fc1d3db8b45c5a22227595b15aea7'). Either block_id or page_url must be provided. The block must be shared with your integration.").optional(),
|
|
6
|
+
page_url: z.string().describe("Notion page URL from which to extract the page/block ID. Either block_id or page_url must be provided. NOTE: Database view URLs (those containing '?v=' parameter) are NOT supported. Database views are filtered views of a database and do not have block children. To access database content, use the NOTION_QUERY_DATABASE action instead.").optional(),
|
|
7
|
+
max_depth: z.number().int().default(10).describe("Maximum recursion depth when recursive=true. Prevents excessive nesting traversal. Defaults to 10. Set higher for deeply nested structures, lower for faster results.").optional(),
|
|
8
|
+
page_size: z.number().int().default(100).describe("Maximum number of child blocks to return per request. Defaults to 100, with a maximum of 100 as per Notion API limits.").optional(),
|
|
9
|
+
recursive: z.boolean().default(false).describe("If true, fetches nested children for blocks with 'has_children' set to true, appending all descendants to the output list. Subject to max_depth and max_blocks limits.").optional(),
|
|
10
|
+
max_blocks: z.number().int().default(5e3).describe("Maximum total blocks to return when recursive=true. Prevents runaway fetches on extremely large block trees. Defaults to 5000. When limit is reached, blocks fetched so far are returned with a warning in the response.").optional()
|
|
11
|
+
}).describe("Request parameters for fetching all block children with optional recursion.");
|
|
12
|
+
const NotionFetchAllBlockContents_BlockPaginationMetadataSchema = z.object({}).describe("Type-specific pagination metadata for block results.\nFor block children endpoint, this is typically an empty object.");
|
|
13
|
+
const NotionFetchAllBlockContents_HostedFileSchema = z.object({
|
|
14
|
+
url: z.string().describe("URL of the hosted file (authenticated and temporary)."),
|
|
15
|
+
expiry_time: z.string().describe("Expiration time of the file URL in ISO 8601 format.").nullable().optional()
|
|
16
|
+
}).describe("Hosted file information.");
|
|
17
|
+
const NotionFetchAllBlockContents_TextLinkSchema = z.object({ url: z.string().describe("URL of the link.") }).describe("Link object within text.");
|
|
18
|
+
const NotionFetchAllBlockContents_TextContentSchema = z.object({
|
|
19
|
+
link: NotionFetchAllBlockContents_TextLinkSchema.nullable().optional(),
|
|
20
|
+
content: z.string().describe("Actual text content.")
|
|
21
|
+
}).describe("Text-specific content.");
|
|
22
|
+
const NotionFetchAllBlockContents_DateMentionValueSchema = z.object({
|
|
23
|
+
end: z.string().describe("End date in ISO 8601 format, or null for single dates.").nullable().optional(),
|
|
24
|
+
start: z.string().describe("Start date in ISO 8601 format."),
|
|
25
|
+
time_zone: z.string().describe("Time zone information if applicable.").nullable().optional()
|
|
26
|
+
}).describe("Date value within a mention.");
|
|
27
|
+
const NotionFetchAllBlockContents_PageMentionReferenceSchema = z.object({ id: z.string().describe("UUIDv4 identifier for the mentioned page.") }).describe("Page reference within a mention.");
|
|
28
|
+
const NotionFetchAllBlockContents_BotOwnerSchema = z.object({ type: z.string().describe("Either 'workspace' or 'user'.").nullable().optional() }).describe("Bot owner information.");
|
|
29
|
+
const NotionFetchAllBlockContents_BotInfoSchema = z.object({
|
|
30
|
+
owner: NotionFetchAllBlockContents_BotOwnerSchema.nullable().optional(),
|
|
31
|
+
workspace_name: z.string().describe("Workspace name; null if owner is a user.").nullable().optional()
|
|
32
|
+
}).describe("Bot-specific user information.");
|
|
33
|
+
const NotionFetchAllBlockContents_PersonInfoSchema = z.object({ email: z.string().describe("Email address of the person. Only present if integration has user capabilities.").nullable().optional() }).describe("Person-specific user information.");
|
|
34
|
+
const NotionFetchAllBlockContents_UserSchema = z.object({
|
|
35
|
+
id: z.string().describe("Unique identifier for the user (UUID)."),
|
|
36
|
+
bot: NotionFetchAllBlockContents_BotInfoSchema.nullable().optional(),
|
|
37
|
+
name: z.string().describe("User's name as displayed in Notion.").nullable().optional(),
|
|
38
|
+
type: z.string().describe("Either 'person' or 'bot'.").nullable().optional(),
|
|
39
|
+
object: z.string().describe("Always 'user'."),
|
|
40
|
+
person: NotionFetchAllBlockContents_PersonInfoSchema.nullable().optional(),
|
|
41
|
+
avatar_url: z.string().describe("URL of the user's chosen avatar image.").nullable().optional()
|
|
42
|
+
}).describe("User object representing a Notion user.");
|
|
43
|
+
const NotionFetchAllBlockContents_DatabaseMentionReferenceSchema = z.object({ id: z.string().describe("UUIDv4 identifier for the mentioned database.") }).describe("Database reference within a mention.");
|
|
44
|
+
const NotionFetchAllBlockContents_LinkPreviewMentionValueSchema = z.object({ url: z.string().describe("URL of the link preview.") }).describe("Link preview value within a mention.");
|
|
45
|
+
const NotionFetchAllBlockContents_TemplateMentionDateValueSchema = z.object({
|
|
46
|
+
type: z.string().describe("Type of template mention date: 'template_mention_date'."),
|
|
47
|
+
template_mention_date: z.string().describe("Template date value: 'today' or 'now'.")
|
|
48
|
+
}).describe("Template mention date value.");
|
|
49
|
+
const NotionFetchAllBlockContents_TemplateMentionUserValueSchema = z.object({
|
|
50
|
+
type: z.string().describe("Type of template mention user: 'template_mention_user'."),
|
|
51
|
+
template_mention_user: z.string().describe("Template user value: 'me'.")
|
|
52
|
+
}).describe("Template mention user value.");
|
|
53
|
+
const NotionFetchAllBlockContents_MentionObjectSchema = z.object({
|
|
54
|
+
date: NotionFetchAllBlockContents_DateMentionValueSchema.nullable().optional(),
|
|
55
|
+
page: NotionFetchAllBlockContents_PageMentionReferenceSchema.nullable().optional(),
|
|
56
|
+
type: z.string().describe("Type of mention: 'database', 'date', 'link_preview', 'page', 'template_mention', or 'user'."),
|
|
57
|
+
user: NotionFetchAllBlockContents_UserSchema.nullable().optional(),
|
|
58
|
+
database: NotionFetchAllBlockContents_DatabaseMentionReferenceSchema.nullable().optional(),
|
|
59
|
+
link_preview: NotionFetchAllBlockContents_LinkPreviewMentionValueSchema.nullable().optional(),
|
|
60
|
+
template_mention: z.union([NotionFetchAllBlockContents_TemplateMentionDateValueSchema, NotionFetchAllBlockContents_TemplateMentionUserValueSchema]).nullable().optional()
|
|
61
|
+
}).describe("Mention object containing reference to database, date, link_preview, page, template_mention, or user.");
|
|
62
|
+
const NotionFetchAllBlockContents_EquationContentSchema = z.object({ expression: z.string().describe("LaTeX formula representation.") }).describe("Equation-specific content.");
|
|
63
|
+
const NotionFetchAllBlockContents_AnnotationsSchema = z.object({
|
|
64
|
+
bold: z.boolean().describe("Whether text is bold."),
|
|
65
|
+
code: z.boolean().describe("Whether text is formatted as code."),
|
|
66
|
+
color: z.string().describe("Color of the text (e.g., 'default', 'blue', 'green', 'red', or background variants)."),
|
|
67
|
+
italic: z.boolean().describe("Whether text is italic."),
|
|
68
|
+
underline: z.boolean().describe("Whether text is underlined."),
|
|
69
|
+
strikethrough: z.boolean().describe("Whether text has strikethrough.")
|
|
70
|
+
}).describe("Styling configuration for rich text.");
|
|
71
|
+
const NotionFetchAllBlockContents_RichTextSchema = z.object({
|
|
72
|
+
href: z.string().describe("URL for links or Notion mentions.").nullable().optional(),
|
|
73
|
+
text: NotionFetchAllBlockContents_TextContentSchema.nullable().optional(),
|
|
74
|
+
type: z.string().describe("Type of rich text: 'text', 'mention', or 'equation'."),
|
|
75
|
+
mention: NotionFetchAllBlockContents_MentionObjectSchema.nullable().optional(),
|
|
76
|
+
equation: NotionFetchAllBlockContents_EquationContentSchema.nullable().optional(),
|
|
77
|
+
plain_text: z.string().describe("Unformatted text content."),
|
|
78
|
+
annotations: NotionFetchAllBlockContents_AnnotationsSchema.nullable()
|
|
79
|
+
}).describe("Rich text object.");
|
|
80
|
+
const NotionFetchAllBlockContents_ExternalFileSchema = z.object({ url: z.string().describe("URL of the external file.") }).describe("External file information.");
|
|
81
|
+
const NotionFetchAllBlockContents_FileBlockSchema = z.object({
|
|
82
|
+
file: NotionFetchAllBlockContents_HostedFileSchema.nullable().optional(),
|
|
83
|
+
type: z.string().describe("Type of file: 'external' or 'file'."),
|
|
84
|
+
caption: z.array(NotionFetchAllBlockContents_RichTextSchema).describe("Array of rich text objects for the caption.").nullable().optional(),
|
|
85
|
+
external: NotionFetchAllBlockContents_ExternalFileSchema.nullable().optional()
|
|
86
|
+
}).describe("File/Image/Video/PDF block content.");
|
|
87
|
+
const NotionFetchAllBlockContents_CodeBlockSchema = z.object({
|
|
88
|
+
caption: z.array(NotionFetchAllBlockContents_RichTextSchema).describe("Array of rich text objects for the code caption.").nullable().optional(),
|
|
89
|
+
language: z.string().describe("Programming language of the code block."),
|
|
90
|
+
rich_text: z.array(NotionFetchAllBlockContents_RichTextSchema).describe("Array of rich text objects containing the code content.")
|
|
91
|
+
}).describe("Code block content.");
|
|
92
|
+
const NotionFetchAllBlockContents_EmbedBlockSchema = z.object({ url: z.string().describe("URL of the embed.") }).describe("Embed block content.");
|
|
93
|
+
const NotionFetchAllBlockContents_QuoteBlockSchema = z.object({
|
|
94
|
+
color: z.string().describe("Color of the quote block.").nullable().optional(),
|
|
95
|
+
rich_text: z.array(NotionFetchAllBlockContents_RichTextSchema).describe("Array of rich text objects containing the quote content.")
|
|
96
|
+
}).describe("Quote block content.");
|
|
97
|
+
const NotionFetchAllBlockContents_TableBlockSchema = z.object({
|
|
98
|
+
table_width: z.number().int().describe("Number of columns in the table."),
|
|
99
|
+
has_row_header: z.boolean().describe("Whether the table has a row header.").nullable().optional(),
|
|
100
|
+
has_column_header: z.boolean().describe("Whether the table has a column header.").nullable().optional()
|
|
101
|
+
}).describe("Table block content.");
|
|
102
|
+
const NotionFetchAllBlockContents_ToDoBlockSchema = z.object({
|
|
103
|
+
color: z.string().describe("Color of the to-do block.").nullable().optional(),
|
|
104
|
+
checked: z.boolean().describe("Whether the to-do is checked.").nullable().optional(),
|
|
105
|
+
rich_text: z.array(NotionFetchAllBlockContents_RichTextSchema).describe("Array of rich text objects containing the to-do content.")
|
|
106
|
+
}).describe("To-do block content.");
|
|
107
|
+
const NotionFetchAllBlockContents_ColumnBlockSchema = z.object({}).describe("Column block content (empty object but has children blocks).");
|
|
108
|
+
const NotionFetchAllBlockContents_ParentInfoSchema = z.object({
|
|
109
|
+
type: z.string().describe("Type of parent: 'page_id', 'database_id', 'block_id', 'data_source_id', or 'workspace'."),
|
|
110
|
+
page_id: z.string().describe("ID of the parent page (UUIDv4). Present when type is 'page_id'.").nullable().optional(),
|
|
111
|
+
block_id: z.string().describe("ID of the parent block (UUIDv4). Present when type is 'block_id'.").nullable().optional(),
|
|
112
|
+
workspace: z.boolean().describe("Always true when type is 'workspace', indicating a top-level block.").nullable().optional(),
|
|
113
|
+
database_id: z.string().describe("ID of the parent database (UUIDv4). Present when type is 'database_id'.").nullable().optional(),
|
|
114
|
+
data_source_id: z.string().describe("ID of the parent data source (UUIDv4). Present when type is 'data_source_id'.").nullable().optional()
|
|
115
|
+
}).describe("Information about the block's parent.");
|
|
116
|
+
const NotionFetchAllBlockContents_ToggleBlockSchema = z.object({
|
|
117
|
+
color: z.string().describe("Color of the toggle block.").nullable().optional(),
|
|
118
|
+
rich_text: z.array(NotionFetchAllBlockContents_RichTextSchema).describe("Array of rich text objects containing the toggle content.")
|
|
119
|
+
}).describe("Toggle block content.");
|
|
120
|
+
const NotionFetchAllBlockContents_EmojiIconSchema = z.object({
|
|
121
|
+
type: z.string().default("emoji").describe("Always 'emoji' for standard emoji icons.").nullable().optional(),
|
|
122
|
+
emoji: z.string().describe("Emoji character (e.g., '😻').")
|
|
123
|
+
}).describe("Emoji icon object.");
|
|
124
|
+
const NotionFetchAllBlockContents_CustomEmojiValueSchema = z.object({
|
|
125
|
+
id: z.string().describe("Unique identifier for the custom emoji."),
|
|
126
|
+
url: z.string().describe("HTTP link to the custom emoji image.").nullable().optional(),
|
|
127
|
+
name: z.string().describe("Display name of the custom emoji.").nullable().optional()
|
|
128
|
+
}).describe("Custom emoji value containing id, name, and url.");
|
|
129
|
+
const NotionFetchAllBlockContents_CustomEmojiIconSchema = z.object({
|
|
130
|
+
type: z.string().default("custom_emoji").describe("Always 'custom_emoji' for custom emoji icons.").nullable().optional(),
|
|
131
|
+
custom_emoji: NotionFetchAllBlockContents_CustomEmojiValueSchema.nullable()
|
|
132
|
+
}).describe("Custom emoji icon object.");
|
|
133
|
+
const NotionFetchAllBlockContents_ExternalIconFileSchema = z.object({ url: z.string().describe("URL of the external icon file.") }).describe("External file information for icon.");
|
|
134
|
+
const NotionFetchAllBlockContents_ExternalIconSchema = z.object({
|
|
135
|
+
type: z.string().default("external").describe("Always 'external' for external file icons.").nullable().optional(),
|
|
136
|
+
external: NotionFetchAllBlockContents_ExternalIconFileSchema.nullable()
|
|
137
|
+
}).describe("External file icon object.");
|
|
138
|
+
const NotionFetchAllBlockContents_HostedIconFileSchema = z.object({
|
|
139
|
+
url: z.string().describe("URL of the hosted icon file (authenticated and temporary)."),
|
|
140
|
+
expiry_time: z.string().describe("Expiration time of the file URL in ISO 8601 format.").nullable().optional()
|
|
141
|
+
}).describe("Hosted file information for icon.");
|
|
142
|
+
const NotionFetchAllBlockContents_FileIconSchema = z.object({
|
|
143
|
+
file: NotionFetchAllBlockContents_HostedIconFileSchema.nullable(),
|
|
144
|
+
type: z.string().default("file").describe("Always 'file' for Notion-hosted file icons.").nullable().optional()
|
|
145
|
+
}).describe("Notion-hosted file icon object.");
|
|
146
|
+
const NotionFetchAllBlockContents_CalloutBlockSchema = z.object({
|
|
147
|
+
icon: z.union([
|
|
148
|
+
NotionFetchAllBlockContents_EmojiIconSchema,
|
|
149
|
+
NotionFetchAllBlockContents_CustomEmojiIconSchema,
|
|
150
|
+
NotionFetchAllBlockContents_ExternalIconSchema,
|
|
151
|
+
NotionFetchAllBlockContents_FileIconSchema
|
|
152
|
+
]).nullable().optional(),
|
|
153
|
+
color: z.string().describe("Color of the callout block.").nullable().optional(),
|
|
154
|
+
rich_text: z.array(NotionFetchAllBlockContents_RichTextSchema).describe("Array of rich text objects containing the callout content.")
|
|
155
|
+
}).describe("Callout block content.");
|
|
156
|
+
const NotionFetchAllBlockContents_DividerBlockSchema = z.object({}).describe("Divider block content (empty object).");
|
|
157
|
+
const NotionFetchAllBlockContents_BookmarkBlockSchema = z.object({
|
|
158
|
+
url: z.string().describe("URL of the bookmark."),
|
|
159
|
+
caption: z.array(NotionFetchAllBlockContents_RichTextSchema).describe("Array of rich text objects for the bookmark caption.").nullable().optional()
|
|
160
|
+
}).describe("Bookmark block content.");
|
|
161
|
+
const NotionFetchAllBlockContents_EquationBlockSchema = z.object({ expression: z.string().describe("KaTeX compatible string representing the equation.") }).describe("Equation block content.");
|
|
162
|
+
const NotionFetchAllBlockContents_TemplateBlockSchema = z.object({ rich_text: z.array(NotionFetchAllBlockContents_RichTextSchema).describe("Array of rich text objects for template content.") }).describe("Template block content.");
|
|
163
|
+
const NotionFetchAllBlockContents_HeadingBlockSchema = z.object({
|
|
164
|
+
color: z.string().describe("Color of the heading block.").nullable().optional(),
|
|
165
|
+
rich_text: z.array(NotionFetchAllBlockContents_RichTextSchema).describe("Array of rich text objects containing the heading content.")
|
|
166
|
+
}).describe("Heading block content (heading_1, heading_2, heading_3).");
|
|
167
|
+
const NotionFetchAllBlockContents_ParagraphBlockSchema = z.object({
|
|
168
|
+
color: z.string().describe("Color of the paragraph block (e.g., 'default', 'blue', 'green', 'red').").nullable().optional(),
|
|
169
|
+
rich_text: z.array(NotionFetchAllBlockContents_RichTextSchema).describe("Array of rich text objects containing the paragraph content.")
|
|
170
|
+
}).describe("Paragraph block content.");
|
|
171
|
+
const NotionFetchAllBlockContents_TableRowBlockSchema = z.object({ cells: z.array(z.array(NotionFetchAllBlockContents_RichTextSchema)).describe("Array of arrays, where each inner array contains rich text objects for a cell.") }).describe("Table row block content.");
|
|
172
|
+
const NotionFetchAllBlockContents_BreadcrumbBlockSchema = z.object({}).describe("Breadcrumb block content (empty object).");
|
|
173
|
+
const NotionFetchAllBlockContents_ChildPageBlockSchema = z.object({ title: z.string().describe("Title of the child page.") }).describe("Child page block content.");
|
|
174
|
+
const NotionFetchAllBlockContents_ColumnListBlockSchema = z.object({}).describe("Column list block content (empty object but has children columns).");
|
|
175
|
+
const NotionFetchAllBlockContents_UnsupportedBlockSchema = z.object({}).describe("Unsupported block content.");
|
|
176
|
+
const NotionFetchAllBlockContents_LinkPreviewBlockSchema = z.object({ url: z.string().describe("URL of the link preview.") }).describe("Link preview block content.");
|
|
177
|
+
const NotionFetchAllBlockContents_LinkToPageBlockSchema = z.object({
|
|
178
|
+
type: z.string().describe("Type of linked page: 'page_id', 'database_id', or 'comment_id'."),
|
|
179
|
+
page_id: z.string().describe("ID of the linked page.").nullable().optional(),
|
|
180
|
+
comment_id: z.string().describe("ID of the linked comment.").nullable().optional(),
|
|
181
|
+
database_id: z.string().describe("ID of the linked database.").nullable().optional()
|
|
182
|
+
}).describe("Link to page block content.");
|
|
183
|
+
const NotionFetchAllBlockContents_SyncedFromInfoSchema = z.object({ block_id: z.string().describe("ID of the original synced block.").nullable().optional() }).describe("Synced from information.");
|
|
184
|
+
const NotionFetchAllBlockContents_SyncedBlockSchema = z.object({ synced_from: NotionFetchAllBlockContents_SyncedFromInfoSchema.nullable().optional() }).describe("Synced block content.");
|
|
185
|
+
const NotionFetchAllBlockContents_ChildDatabaseBlockSchema = z.object({ title: z.string().describe("Title of the child database.") }).describe("Child database block content.");
|
|
186
|
+
const NotionFetchAllBlockContents_TableOfContentsBlockSchema = z.object({ color: z.string().describe("Color of the table of contents block.").nullable().optional() }).describe("Table of contents block content.");
|
|
187
|
+
const NotionFetchAllBlockContents_ListItemBlockSchema = z.object({
|
|
188
|
+
color: z.string().describe("Color of the list item block.").nullable().optional(),
|
|
189
|
+
rich_text: z.array(NotionFetchAllBlockContents_RichTextSchema).describe("Array of rich text objects containing the list item content.")
|
|
190
|
+
}).describe("List item block content (bulleted_list_item, numbered_list_item).");
|
|
191
|
+
const NotionFetchAllBlockContents_BlockSchema = z.object({
|
|
192
|
+
id: z.string().describe("Unique identifier for the block (UUIDv4 format)."),
|
|
193
|
+
pdf: NotionFetchAllBlockContents_FileBlockSchema.nullable().optional(),
|
|
194
|
+
code: NotionFetchAllBlockContents_CodeBlockSchema.nullable().optional(),
|
|
195
|
+
file: NotionFetchAllBlockContents_FileBlockSchema.nullable().optional(),
|
|
196
|
+
type: z.string().describe("Block classification type (e.g., 'paragraph', 'heading_1', 'heading_2', etc.)."),
|
|
197
|
+
embed: NotionFetchAllBlockContents_EmbedBlockSchema.nullable().optional(),
|
|
198
|
+
image: NotionFetchAllBlockContents_FileBlockSchema.nullable().optional(),
|
|
199
|
+
quote: NotionFetchAllBlockContents_QuoteBlockSchema.nullable().optional(),
|
|
200
|
+
table: NotionFetchAllBlockContents_TableBlockSchema.nullable().optional(),
|
|
201
|
+
to_do: NotionFetchAllBlockContents_ToDoBlockSchema.nullable().optional(),
|
|
202
|
+
video: NotionFetchAllBlockContents_FileBlockSchema.nullable().optional(),
|
|
203
|
+
column: NotionFetchAllBlockContents_ColumnBlockSchema.nullable().optional(),
|
|
204
|
+
object: z.string().describe("Always 'block'."),
|
|
205
|
+
parent: NotionFetchAllBlockContents_ParentInfoSchema.nullable().optional(),
|
|
206
|
+
toggle: NotionFetchAllBlockContents_ToggleBlockSchema.nullable().optional(),
|
|
207
|
+
callout: NotionFetchAllBlockContents_CalloutBlockSchema.nullable().optional(),
|
|
208
|
+
divider: NotionFetchAllBlockContents_DividerBlockSchema.nullable().optional(),
|
|
209
|
+
archived: z.boolean().describe("Whether the block is archived.").nullable().optional(),
|
|
210
|
+
bookmark: NotionFetchAllBlockContents_BookmarkBlockSchema.nullable().optional(),
|
|
211
|
+
equation: NotionFetchAllBlockContents_EquationBlockSchema.nullable().optional(),
|
|
212
|
+
in_trash: z.boolean().describe("Whether the block has been deleted.").nullable().optional(),
|
|
213
|
+
template: NotionFetchAllBlockContents_TemplateBlockSchema.nullable().optional(),
|
|
214
|
+
heading_1: NotionFetchAllBlockContents_HeadingBlockSchema.nullable().optional(),
|
|
215
|
+
heading_2: NotionFetchAllBlockContents_HeadingBlockSchema.nullable().optional(),
|
|
216
|
+
heading_3: NotionFetchAllBlockContents_HeadingBlockSchema.nullable().optional(),
|
|
217
|
+
paragraph: NotionFetchAllBlockContents_ParagraphBlockSchema.nullable().optional(),
|
|
218
|
+
table_row: NotionFetchAllBlockContents_TableRowBlockSchema.nullable().optional(),
|
|
219
|
+
breadcrumb: NotionFetchAllBlockContents_BreadcrumbBlockSchema.nullable().optional(),
|
|
220
|
+
child_page: NotionFetchAllBlockContents_ChildPageBlockSchema.nullable().optional(),
|
|
221
|
+
created_by: NotionFetchAllBlockContents_UserSchema.nullable().optional(),
|
|
222
|
+
column_list: NotionFetchAllBlockContents_ColumnListBlockSchema.nullable().optional(),
|
|
223
|
+
unsupported: NotionFetchAllBlockContents_UnsupportedBlockSchema.nullable().optional(),
|
|
224
|
+
created_time: z.string().describe("Creation timestamp in ISO 8601 format.").nullable().optional(),
|
|
225
|
+
has_children: z.boolean().describe("Whether the block contains nested child blocks.").nullable().optional(),
|
|
226
|
+
link_preview: NotionFetchAllBlockContents_LinkPreviewBlockSchema.nullable().optional(),
|
|
227
|
+
link_to_page: NotionFetchAllBlockContents_LinkToPageBlockSchema.nullable().optional(),
|
|
228
|
+
synced_block: NotionFetchAllBlockContents_SyncedBlockSchema.nullable().optional(),
|
|
229
|
+
child_database: NotionFetchAllBlockContents_ChildDatabaseBlockSchema.nullable().optional(),
|
|
230
|
+
last_edited_by: NotionFetchAllBlockContents_UserSchema.nullable().optional(),
|
|
231
|
+
last_edited_time: z.string().describe("Last modification timestamp in ISO 8601 format.").nullable().optional(),
|
|
232
|
+
table_of_contents: NotionFetchAllBlockContents_TableOfContentsBlockSchema.nullable().optional(),
|
|
233
|
+
bulleted_list_item: NotionFetchAllBlockContents_ListItemBlockSchema.nullable().optional(),
|
|
234
|
+
numbered_list_item: NotionFetchAllBlockContents_ListItemBlockSchema.nullable().optional()
|
|
235
|
+
}).describe("Block object with common and type-specific properties.");
|
|
236
|
+
const NotionFetchAllBlockContents_BlockAccessibilityInfoSchema = z.object({
|
|
237
|
+
block_type: z.string().describe("The type of the block (e.g., 'page', 'paragraph', 'toggle'). Only present when block_exists is true.").nullable().optional(),
|
|
238
|
+
block_exists: z.boolean().describe("Whether the block was confirmed to exist and be accessible. True means the block exists and the integration has access to it."),
|
|
239
|
+
has_children: z.boolean().describe("Whether the block has child blocks according to its metadata. Only present when block_exists is true. When false and results are empty, it confirms the block legitimately has no children.").nullable().optional(),
|
|
240
|
+
is_empty_valid: z.boolean().describe("When results are empty: True means the block exists but legitimately has no children (valid empty state). False or None means something may be wrong with the block or access.").nullable().optional()
|
|
241
|
+
}).describe("Information about the accessibility and state of the requested block.");
|
|
242
|
+
const NotionFetchAllBlockContents_RecursionLimitInfoSchema = z.object({
|
|
243
|
+
max_depth_used: z.number().int().describe("The max_depth limit that was applied.").nullable().optional(),
|
|
244
|
+
max_blocks_used: z.number().int().describe("The max_blocks limit that was applied.").nullable().optional(),
|
|
245
|
+
block_limit_reached: z.boolean().default(false).describe("True if max_blocks limit was reached. The response contains partial results.").nullable().optional(),
|
|
246
|
+
depth_limit_reached: z.boolean().default(false).describe("True if max_depth limit was reached during traversal. Some nested content may not be included.").nullable().optional(),
|
|
247
|
+
actual_depth_reached: z.number().int().describe("The deepest nesting level actually reached during traversal.").nullable().optional(),
|
|
248
|
+
total_blocks_fetched: z.number().int().describe("Total number of blocks fetched (may equal max_blocks if limit was hit).").nullable().optional()
|
|
249
|
+
}).describe("Information about recursion limits when recursive=true.");
|
|
250
|
+
const notionFetchAllBlockContents = action("NOTION_FETCH_ALL_BLOCK_CONTENTS", {
|
|
251
|
+
slug: "notion-fetch-all-block-contents",
|
|
252
|
+
name: "Fetch All Notion Block Contents",
|
|
253
|
+
description: "Tool to fetch all child blocks for a given Notion block. Use when you need a complete listing of a block's children beyond a single page; supports optional recursive expansion of nested blocks.",
|
|
254
|
+
input: NotionFetchAllBlockContentsInput,
|
|
255
|
+
output: z.object({
|
|
256
|
+
type: z.string().describe("Constant string indicating the object types within results. For this endpoint, typically 'block'.").nullable().optional(),
|
|
257
|
+
block: NotionFetchAllBlockContents_BlockPaginationMetadataSchema.nullable().optional(),
|
|
258
|
+
object: z.string().describe("Always 'list' for paginated responses."),
|
|
259
|
+
results: z.array(NotionFetchAllBlockContents_BlockSchema).describe("Array of child block objects contained in the specified block."),
|
|
260
|
+
has_more: z.boolean().describe("Whether additional results exist beyond this page. Returns false when all results have been retrieved, true when more data is available."),
|
|
261
|
+
block_info: NotionFetchAllBlockContents_BlockAccessibilityInfoSchema.nullable().optional(),
|
|
262
|
+
next_cursor: z.string().describe("Cursor value to fetch the next page of results. Only present when has_more is true. Treat as an opaque value and pass as start_cursor parameter in subsequent requests.").nullable().optional(),
|
|
263
|
+
recursion_info: NotionFetchAllBlockContents_RecursionLimitInfoSchema.nullable().optional()
|
|
264
|
+
}).describe("Response from the Notion API retrieve block children endpoint (GET /v1/blocks/{block_id}/children).")
|
|
265
|
+
});
|
|
266
|
+
//#endregion
|
|
267
|
+
export { notionFetchAllBlockContents };
|
|
268
|
+
|
|
269
|
+
//# sourceMappingURL=fetch-all-block-contents.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fetch-all-block-contents.mjs","names":[],"sources":["../../src/actions/fetch-all-block-contents.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NotionFetchAllBlockContentsInput: z.ZodTypeAny = z.object({\n block_id: z.string().describe(\"Identifier (UUID) of the parent Notion block or page whose children to list. Pages are blocks in Notion. Accepts UUIDs with or without hyphens (e.g., 'c02fc1d3-db8b-45c5-a222-27595b15aea7' or 'c02fc1d3db8b45c5a22227595b15aea7'). Either block_id or page_url must be provided. The block must be shared with your integration.\").optional(),\n page_url: z.string().describe(\"Notion page URL from which to extract the page/block ID. Either block_id or page_url must be provided. NOTE: Database view URLs (those containing '?v=' parameter) are NOT supported. Database views are filtered views of a database and do not have block children. To access database content, use the NOTION_QUERY_DATABASE action instead.\").optional(),\n max_depth: z.number().int().default(10).describe(\"Maximum recursion depth when recursive=true. Prevents excessive nesting traversal. Defaults to 10. Set higher for deeply nested structures, lower for faster results.\").optional(),\n page_size: z.number().int().default(100).describe(\"Maximum number of child blocks to return per request. Defaults to 100, with a maximum of 100 as per Notion API limits.\").optional(),\n recursive: z.boolean().default(false).describe(\"If true, fetches nested children for blocks with 'has_children' set to true, appending all descendants to the output list. Subject to max_depth and max_blocks limits.\").optional(),\n max_blocks: z.number().int().default(5000).describe(\"Maximum total blocks to return when recursive=true. Prevents runaway fetches on extremely large block trees. Defaults to 5000. When limit is reached, blocks fetched so far are returned with a warning in the response.\").optional(),\n}).describe(\"Request parameters for fetching all block children with optional recursion.\");\nconst NotionFetchAllBlockContents_BlockPaginationMetadataSchema: z.ZodTypeAny = z.object({}).describe(\"Type-specific pagination metadata for block results.\\nFor block children endpoint, this is typically an empty object.\");\nconst NotionFetchAllBlockContents_HostedFileSchema: z.ZodTypeAny = z.object({\n url: z.string().describe(\"URL of the hosted file (authenticated and temporary).\"),\n expiry_time: z.string().describe(\"Expiration time of the file URL in ISO 8601 format.\").nullable().optional(),\n}).describe(\"Hosted file information.\");\nconst NotionFetchAllBlockContents_TextLinkSchema: z.ZodTypeAny = z.object({\n url: z.string().describe(\"URL of the link.\"),\n}).describe(\"Link object within text.\");\nconst NotionFetchAllBlockContents_TextContentSchema: z.ZodTypeAny = z.object({\n link: NotionFetchAllBlockContents_TextLinkSchema.nullable().optional(),\n content: z.string().describe(\"Actual text content.\"),\n}).describe(\"Text-specific content.\");\nconst NotionFetchAllBlockContents_DateMentionValueSchema: z.ZodTypeAny = z.object({\n end: z.string().describe(\"End date in ISO 8601 format, or null for single dates.\").nullable().optional(),\n start: z.string().describe(\"Start date in ISO 8601 format.\"),\n time_zone: z.string().describe(\"Time zone information if applicable.\").nullable().optional(),\n}).describe(\"Date value within a mention.\");\nconst NotionFetchAllBlockContents_PageMentionReferenceSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"UUIDv4 identifier for the mentioned page.\"),\n}).describe(\"Page reference within a mention.\");\nconst NotionFetchAllBlockContents_BotOwnerSchema: z.ZodTypeAny = z.object({\n type: z.string().describe(\"Either 'workspace' or 'user'.\").nullable().optional(),\n}).describe(\"Bot owner information.\");\nconst NotionFetchAllBlockContents_BotInfoSchema: z.ZodTypeAny = z.object({\n owner: NotionFetchAllBlockContents_BotOwnerSchema.nullable().optional(),\n workspace_name: z.string().describe(\"Workspace name; null if owner is a user.\").nullable().optional(),\n}).describe(\"Bot-specific user information.\");\nconst NotionFetchAllBlockContents_PersonInfoSchema: z.ZodTypeAny = z.object({\n email: z.string().describe(\"Email address of the person. Only present if integration has user capabilities.\").nullable().optional(),\n}).describe(\"Person-specific user information.\");\nconst NotionFetchAllBlockContents_UserSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier for the user (UUID).\"),\n bot: NotionFetchAllBlockContents_BotInfoSchema.nullable().optional(),\n name: z.string().describe(\"User's name as displayed in Notion.\").nullable().optional(),\n type: z.string().describe(\"Either 'person' or 'bot'.\").nullable().optional(),\n object: z.string().describe(\"Always 'user'.\"),\n person: NotionFetchAllBlockContents_PersonInfoSchema.nullable().optional(),\n avatar_url: z.string().describe(\"URL of the user's chosen avatar image.\").nullable().optional(),\n}).describe(\"User object representing a Notion user.\");\nconst NotionFetchAllBlockContents_DatabaseMentionReferenceSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"UUIDv4 identifier for the mentioned database.\"),\n}).describe(\"Database reference within a mention.\");\nconst NotionFetchAllBlockContents_LinkPreviewMentionValueSchema: z.ZodTypeAny = z.object({\n url: z.string().describe(\"URL of the link preview.\"),\n}).describe(\"Link preview value within a mention.\");\nconst NotionFetchAllBlockContents_TemplateMentionDateValueSchema: z.ZodTypeAny = z.object({\n type: z.string().describe(\"Type of template mention date: 'template_mention_date'.\"),\n template_mention_date: z.string().describe(\"Template date value: 'today' or 'now'.\"),\n}).describe(\"Template mention date value.\");\nconst NotionFetchAllBlockContents_TemplateMentionUserValueSchema: z.ZodTypeAny = z.object({\n type: z.string().describe(\"Type of template mention user: 'template_mention_user'.\"),\n template_mention_user: z.string().describe(\"Template user value: 'me'.\"),\n}).describe(\"Template mention user value.\");\nconst NotionFetchAllBlockContents_MentionObjectSchema: z.ZodTypeAny = z.object({\n date: NotionFetchAllBlockContents_DateMentionValueSchema.nullable().optional(),\n page: NotionFetchAllBlockContents_PageMentionReferenceSchema.nullable().optional(),\n type: z.string().describe(\"Type of mention: 'database', 'date', 'link_preview', 'page', 'template_mention', or 'user'.\"),\n user: NotionFetchAllBlockContents_UserSchema.nullable().optional(),\n database: NotionFetchAllBlockContents_DatabaseMentionReferenceSchema.nullable().optional(),\n link_preview: NotionFetchAllBlockContents_LinkPreviewMentionValueSchema.nullable().optional(),\n template_mention: z.union([NotionFetchAllBlockContents_TemplateMentionDateValueSchema, NotionFetchAllBlockContents_TemplateMentionUserValueSchema]).nullable().optional(),\n}).describe(\"Mention object containing reference to database, date, link_preview, page, template_mention, or user.\");\nconst NotionFetchAllBlockContents_EquationContentSchema: z.ZodTypeAny = z.object({\n expression: z.string().describe(\"LaTeX formula representation.\"),\n}).describe(\"Equation-specific content.\");\nconst NotionFetchAllBlockContents_AnnotationsSchema: z.ZodTypeAny = z.object({\n bold: z.boolean().describe(\"Whether text is bold.\"),\n code: z.boolean().describe(\"Whether text is formatted as code.\"),\n color: z.string().describe(\"Color of the text (e.g., 'default', 'blue', 'green', 'red', or background variants).\"),\n italic: z.boolean().describe(\"Whether text is italic.\"),\n underline: z.boolean().describe(\"Whether text is underlined.\"),\n strikethrough: z.boolean().describe(\"Whether text has strikethrough.\"),\n}).describe(\"Styling configuration for rich text.\");\nconst NotionFetchAllBlockContents_RichTextSchema: z.ZodTypeAny = z.object({\n href: z.string().describe(\"URL for links or Notion mentions.\").nullable().optional(),\n text: NotionFetchAllBlockContents_TextContentSchema.nullable().optional(),\n type: z.string().describe(\"Type of rich text: 'text', 'mention', or 'equation'.\"),\n mention: NotionFetchAllBlockContents_MentionObjectSchema.nullable().optional(),\n equation: NotionFetchAllBlockContents_EquationContentSchema.nullable().optional(),\n plain_text: z.string().describe(\"Unformatted text content.\"),\n annotations: NotionFetchAllBlockContents_AnnotationsSchema.nullable(),\n}).describe(\"Rich text object.\");\nconst NotionFetchAllBlockContents_ExternalFileSchema: z.ZodTypeAny = z.object({\n url: z.string().describe(\"URL of the external file.\"),\n}).describe(\"External file information.\");\nconst NotionFetchAllBlockContents_FileBlockSchema: z.ZodTypeAny = z.object({\n file: NotionFetchAllBlockContents_HostedFileSchema.nullable().optional(),\n type: z.string().describe(\"Type of file: 'external' or 'file'.\"),\n caption: z.array(NotionFetchAllBlockContents_RichTextSchema).describe(\"Array of rich text objects for the caption.\").nullable().optional(),\n external: NotionFetchAllBlockContents_ExternalFileSchema.nullable().optional(),\n}).describe(\"File/Image/Video/PDF block content.\");\nconst NotionFetchAllBlockContents_CodeBlockSchema: z.ZodTypeAny = z.object({\n caption: z.array(NotionFetchAllBlockContents_RichTextSchema).describe(\"Array of rich text objects for the code caption.\").nullable().optional(),\n language: z.string().describe(\"Programming language of the code block.\"),\n rich_text: z.array(NotionFetchAllBlockContents_RichTextSchema).describe(\"Array of rich text objects containing the code content.\"),\n}).describe(\"Code block content.\");\nconst NotionFetchAllBlockContents_EmbedBlockSchema: z.ZodTypeAny = z.object({\n url: z.string().describe(\"URL of the embed.\"),\n}).describe(\"Embed block content.\");\nconst NotionFetchAllBlockContents_QuoteBlockSchema: z.ZodTypeAny = z.object({\n color: z.string().describe(\"Color of the quote block.\").nullable().optional(),\n rich_text: z.array(NotionFetchAllBlockContents_RichTextSchema).describe(\"Array of rich text objects containing the quote content.\"),\n}).describe(\"Quote block content.\");\nconst NotionFetchAllBlockContents_TableBlockSchema: z.ZodTypeAny = z.object({\n table_width: z.number().int().describe(\"Number of columns in the table.\"),\n has_row_header: z.boolean().describe(\"Whether the table has a row header.\").nullable().optional(),\n has_column_header: z.boolean().describe(\"Whether the table has a column header.\").nullable().optional(),\n}).describe(\"Table block content.\");\nconst NotionFetchAllBlockContents_ToDoBlockSchema: z.ZodTypeAny = z.object({\n color: z.string().describe(\"Color of the to-do block.\").nullable().optional(),\n checked: z.boolean().describe(\"Whether the to-do is checked.\").nullable().optional(),\n rich_text: z.array(NotionFetchAllBlockContents_RichTextSchema).describe(\"Array of rich text objects containing the to-do content.\"),\n}).describe(\"To-do block content.\");\nconst NotionFetchAllBlockContents_ColumnBlockSchema: z.ZodTypeAny = z.object({}).describe(\"Column block content (empty object but has children blocks).\");\nconst NotionFetchAllBlockContents_ParentInfoSchema: z.ZodTypeAny = z.object({\n type: z.string().describe(\"Type of parent: 'page_id', 'database_id', 'block_id', 'data_source_id', or 'workspace'.\"),\n page_id: z.string().describe(\"ID of the parent page (UUIDv4). Present when type is 'page_id'.\").nullable().optional(),\n block_id: z.string().describe(\"ID of the parent block (UUIDv4). Present when type is 'block_id'.\").nullable().optional(),\n workspace: z.boolean().describe(\"Always true when type is 'workspace', indicating a top-level block.\").nullable().optional(),\n database_id: z.string().describe(\"ID of the parent database (UUIDv4). Present when type is 'database_id'.\").nullable().optional(),\n data_source_id: z.string().describe(\"ID of the parent data source (UUIDv4). Present when type is 'data_source_id'.\").nullable().optional(),\n}).describe(\"Information about the block's parent.\");\nconst NotionFetchAllBlockContents_ToggleBlockSchema: z.ZodTypeAny = z.object({\n color: z.string().describe(\"Color of the toggle block.\").nullable().optional(),\n rich_text: z.array(NotionFetchAllBlockContents_RichTextSchema).describe(\"Array of rich text objects containing the toggle content.\"),\n}).describe(\"Toggle block content.\");\nconst NotionFetchAllBlockContents_EmojiIconSchema: z.ZodTypeAny = z.object({\n type: z.string().default(\"emoji\").describe(\"Always 'emoji' for standard emoji icons.\").nullable().optional(),\n emoji: z.string().describe(\"Emoji character (e.g., '😻').\"),\n}).describe(\"Emoji icon object.\");\nconst NotionFetchAllBlockContents_CustomEmojiValueSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier for the custom emoji.\"),\n url: z.string().describe(\"HTTP link to the custom emoji image.\").nullable().optional(),\n name: z.string().describe(\"Display name of the custom emoji.\").nullable().optional(),\n}).describe(\"Custom emoji value containing id, name, and url.\");\nconst NotionFetchAllBlockContents_CustomEmojiIconSchema: z.ZodTypeAny = z.object({\n type: z.string().default(\"custom_emoji\").describe(\"Always 'custom_emoji' for custom emoji icons.\").nullable().optional(),\n custom_emoji: NotionFetchAllBlockContents_CustomEmojiValueSchema.nullable(),\n}).describe(\"Custom emoji icon object.\");\nconst NotionFetchAllBlockContents_ExternalIconFileSchema: z.ZodTypeAny = z.object({\n url: z.string().describe(\"URL of the external icon file.\"),\n}).describe(\"External file information for icon.\");\nconst NotionFetchAllBlockContents_ExternalIconSchema: z.ZodTypeAny = z.object({\n type: z.string().default(\"external\").describe(\"Always 'external' for external file icons.\").nullable().optional(),\n external: NotionFetchAllBlockContents_ExternalIconFileSchema.nullable(),\n}).describe(\"External file icon object.\");\nconst NotionFetchAllBlockContents_HostedIconFileSchema: z.ZodTypeAny = z.object({\n url: z.string().describe(\"URL of the hosted icon file (authenticated and temporary).\"),\n expiry_time: z.string().describe(\"Expiration time of the file URL in ISO 8601 format.\").nullable().optional(),\n}).describe(\"Hosted file information for icon.\");\nconst NotionFetchAllBlockContents_FileIconSchema: z.ZodTypeAny = z.object({\n file: NotionFetchAllBlockContents_HostedIconFileSchema.nullable(),\n type: z.string().default(\"file\").describe(\"Always 'file' for Notion-hosted file icons.\").nullable().optional(),\n}).describe(\"Notion-hosted file icon object.\");\nconst NotionFetchAllBlockContents_CalloutBlockSchema: z.ZodTypeAny = z.object({\n icon: z.union([NotionFetchAllBlockContents_EmojiIconSchema, NotionFetchAllBlockContents_CustomEmojiIconSchema, NotionFetchAllBlockContents_ExternalIconSchema, NotionFetchAllBlockContents_FileIconSchema]).nullable().optional(),\n color: z.string().describe(\"Color of the callout block.\").nullable().optional(),\n rich_text: z.array(NotionFetchAllBlockContents_RichTextSchema).describe(\"Array of rich text objects containing the callout content.\"),\n}).describe(\"Callout block content.\");\nconst NotionFetchAllBlockContents_DividerBlockSchema: z.ZodTypeAny = z.object({}).describe(\"Divider block content (empty object).\");\nconst NotionFetchAllBlockContents_BookmarkBlockSchema: z.ZodTypeAny = z.object({\n url: z.string().describe(\"URL of the bookmark.\"),\n caption: z.array(NotionFetchAllBlockContents_RichTextSchema).describe(\"Array of rich text objects for the bookmark caption.\").nullable().optional(),\n}).describe(\"Bookmark block content.\");\nconst NotionFetchAllBlockContents_EquationBlockSchema: z.ZodTypeAny = z.object({\n expression: z.string().describe(\"KaTeX compatible string representing the equation.\"),\n}).describe(\"Equation block content.\");\nconst NotionFetchAllBlockContents_TemplateBlockSchema: z.ZodTypeAny = z.object({\n rich_text: z.array(NotionFetchAllBlockContents_RichTextSchema).describe(\"Array of rich text objects for template content.\"),\n}).describe(\"Template block content.\");\nconst NotionFetchAllBlockContents_HeadingBlockSchema: z.ZodTypeAny = z.object({\n color: z.string().describe(\"Color of the heading block.\").nullable().optional(),\n rich_text: z.array(NotionFetchAllBlockContents_RichTextSchema).describe(\"Array of rich text objects containing the heading content.\"),\n}).describe(\"Heading block content (heading_1, heading_2, heading_3).\");\nconst NotionFetchAllBlockContents_ParagraphBlockSchema: z.ZodTypeAny = z.object({\n color: z.string().describe(\"Color of the paragraph block (e.g., 'default', 'blue', 'green', 'red').\").nullable().optional(),\n rich_text: z.array(NotionFetchAllBlockContents_RichTextSchema).describe(\"Array of rich text objects containing the paragraph content.\"),\n}).describe(\"Paragraph block content.\");\nconst NotionFetchAllBlockContents_TableRowBlockSchema: z.ZodTypeAny = z.object({\n cells: z.array(z.array(NotionFetchAllBlockContents_RichTextSchema)).describe(\"Array of arrays, where each inner array contains rich text objects for a cell.\"),\n}).describe(\"Table row block content.\");\nconst NotionFetchAllBlockContents_BreadcrumbBlockSchema: z.ZodTypeAny = z.object({}).describe(\"Breadcrumb block content (empty object).\");\nconst NotionFetchAllBlockContents_ChildPageBlockSchema: z.ZodTypeAny = z.object({\n title: z.string().describe(\"Title of the child page.\"),\n}).describe(\"Child page block content.\");\nconst NotionFetchAllBlockContents_ColumnListBlockSchema: z.ZodTypeAny = z.object({}).describe(\"Column list block content (empty object but has children columns).\");\nconst NotionFetchAllBlockContents_UnsupportedBlockSchema: z.ZodTypeAny = z.object({}).describe(\"Unsupported block content.\");\nconst NotionFetchAllBlockContents_LinkPreviewBlockSchema: z.ZodTypeAny = z.object({\n url: z.string().describe(\"URL of the link preview.\"),\n}).describe(\"Link preview block content.\");\nconst NotionFetchAllBlockContents_LinkToPageBlockSchema: z.ZodTypeAny = z.object({\n type: z.string().describe(\"Type of linked page: 'page_id', 'database_id', or 'comment_id'.\"),\n page_id: z.string().describe(\"ID of the linked page.\").nullable().optional(),\n comment_id: z.string().describe(\"ID of the linked comment.\").nullable().optional(),\n database_id: z.string().describe(\"ID of the linked database.\").nullable().optional(),\n}).describe(\"Link to page block content.\");\nconst NotionFetchAllBlockContents_SyncedFromInfoSchema: z.ZodTypeAny = z.object({\n block_id: z.string().describe(\"ID of the original synced block.\").nullable().optional(),\n}).describe(\"Synced from information.\");\nconst NotionFetchAllBlockContents_SyncedBlockSchema: z.ZodTypeAny = z.object({\n synced_from: NotionFetchAllBlockContents_SyncedFromInfoSchema.nullable().optional(),\n}).describe(\"Synced block content.\");\nconst NotionFetchAllBlockContents_ChildDatabaseBlockSchema: z.ZodTypeAny = z.object({\n title: z.string().describe(\"Title of the child database.\"),\n}).describe(\"Child database block content.\");\nconst NotionFetchAllBlockContents_TableOfContentsBlockSchema: z.ZodTypeAny = z.object({\n color: z.string().describe(\"Color of the table of contents block.\").nullable().optional(),\n}).describe(\"Table of contents block content.\");\nconst NotionFetchAllBlockContents_ListItemBlockSchema: z.ZodTypeAny = z.object({\n color: z.string().describe(\"Color of the list item block.\").nullable().optional(),\n rich_text: z.array(NotionFetchAllBlockContents_RichTextSchema).describe(\"Array of rich text objects containing the list item content.\"),\n}).describe(\"List item block content (bulleted_list_item, numbered_list_item).\");\nconst NotionFetchAllBlockContents_BlockSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier for the block (UUIDv4 format).\"),\n pdf: NotionFetchAllBlockContents_FileBlockSchema.nullable().optional(),\n code: NotionFetchAllBlockContents_CodeBlockSchema.nullable().optional(),\n file: NotionFetchAllBlockContents_FileBlockSchema.nullable().optional(),\n type: z.string().describe(\"Block classification type (e.g., 'paragraph', 'heading_1', 'heading_2', etc.).\"),\n embed: NotionFetchAllBlockContents_EmbedBlockSchema.nullable().optional(),\n image: NotionFetchAllBlockContents_FileBlockSchema.nullable().optional(),\n quote: NotionFetchAllBlockContents_QuoteBlockSchema.nullable().optional(),\n table: NotionFetchAllBlockContents_TableBlockSchema.nullable().optional(),\n to_do: NotionFetchAllBlockContents_ToDoBlockSchema.nullable().optional(),\n video: NotionFetchAllBlockContents_FileBlockSchema.nullable().optional(),\n column: NotionFetchAllBlockContents_ColumnBlockSchema.nullable().optional(),\n object: z.string().describe(\"Always 'block'.\"),\n parent: NotionFetchAllBlockContents_ParentInfoSchema.nullable().optional(),\n toggle: NotionFetchAllBlockContents_ToggleBlockSchema.nullable().optional(),\n callout: NotionFetchAllBlockContents_CalloutBlockSchema.nullable().optional(),\n divider: NotionFetchAllBlockContents_DividerBlockSchema.nullable().optional(),\n archived: z.boolean().describe(\"Whether the block is archived.\").nullable().optional(),\n bookmark: NotionFetchAllBlockContents_BookmarkBlockSchema.nullable().optional(),\n equation: NotionFetchAllBlockContents_EquationBlockSchema.nullable().optional(),\n in_trash: z.boolean().describe(\"Whether the block has been deleted.\").nullable().optional(),\n template: NotionFetchAllBlockContents_TemplateBlockSchema.nullable().optional(),\n heading_1: NotionFetchAllBlockContents_HeadingBlockSchema.nullable().optional(),\n heading_2: NotionFetchAllBlockContents_HeadingBlockSchema.nullable().optional(),\n heading_3: NotionFetchAllBlockContents_HeadingBlockSchema.nullable().optional(),\n paragraph: NotionFetchAllBlockContents_ParagraphBlockSchema.nullable().optional(),\n table_row: NotionFetchAllBlockContents_TableRowBlockSchema.nullable().optional(),\n breadcrumb: NotionFetchAllBlockContents_BreadcrumbBlockSchema.nullable().optional(),\n child_page: NotionFetchAllBlockContents_ChildPageBlockSchema.nullable().optional(),\n created_by: NotionFetchAllBlockContents_UserSchema.nullable().optional(),\n column_list: NotionFetchAllBlockContents_ColumnListBlockSchema.nullable().optional(),\n unsupported: NotionFetchAllBlockContents_UnsupportedBlockSchema.nullable().optional(),\n created_time: z.string().describe(\"Creation timestamp in ISO 8601 format.\").nullable().optional(),\n has_children: z.boolean().describe(\"Whether the block contains nested child blocks.\").nullable().optional(),\n link_preview: NotionFetchAllBlockContents_LinkPreviewBlockSchema.nullable().optional(),\n link_to_page: NotionFetchAllBlockContents_LinkToPageBlockSchema.nullable().optional(),\n synced_block: NotionFetchAllBlockContents_SyncedBlockSchema.nullable().optional(),\n child_database: NotionFetchAllBlockContents_ChildDatabaseBlockSchema.nullable().optional(),\n last_edited_by: NotionFetchAllBlockContents_UserSchema.nullable().optional(),\n last_edited_time: z.string().describe(\"Last modification timestamp in ISO 8601 format.\").nullable().optional(),\n table_of_contents: NotionFetchAllBlockContents_TableOfContentsBlockSchema.nullable().optional(),\n bulleted_list_item: NotionFetchAllBlockContents_ListItemBlockSchema.nullable().optional(),\n numbered_list_item: NotionFetchAllBlockContents_ListItemBlockSchema.nullable().optional(),\n}).describe(\"Block object with common and type-specific properties.\");\nconst NotionFetchAllBlockContents_BlockAccessibilityInfoSchema: z.ZodTypeAny = z.object({\n block_type: z.string().describe(\"The type of the block (e.g., 'page', 'paragraph', 'toggle'). Only present when block_exists is true.\").nullable().optional(),\n block_exists: z.boolean().describe(\"Whether the block was confirmed to exist and be accessible. True means the block exists and the integration has access to it.\"),\n has_children: z.boolean().describe(\"Whether the block has child blocks according to its metadata. Only present when block_exists is true. When false and results are empty, it confirms the block legitimately has no children.\").nullable().optional(),\n is_empty_valid: z.boolean().describe(\"When results are empty: True means the block exists but legitimately has no children (valid empty state). False or None means something may be wrong with the block or access.\").nullable().optional(),\n}).describe(\"Information about the accessibility and state of the requested block.\");\nconst NotionFetchAllBlockContents_RecursionLimitInfoSchema: z.ZodTypeAny = z.object({\n max_depth_used: z.number().int().describe(\"The max_depth limit that was applied.\").nullable().optional(),\n max_blocks_used: z.number().int().describe(\"The max_blocks limit that was applied.\").nullable().optional(),\n block_limit_reached: z.boolean().default(false).describe(\"True if max_blocks limit was reached. The response contains partial results.\").nullable().optional(),\n depth_limit_reached: z.boolean().default(false).describe(\"True if max_depth limit was reached during traversal. Some nested content may not be included.\").nullable().optional(),\n actual_depth_reached: z.number().int().describe(\"The deepest nesting level actually reached during traversal.\").nullable().optional(),\n total_blocks_fetched: z.number().int().describe(\"Total number of blocks fetched (may equal max_blocks if limit was hit).\").nullable().optional(),\n}).describe(\"Information about recursion limits when recursive=true.\");\nexport const NotionFetchAllBlockContentsOutput: z.ZodTypeAny = z.object({\n type: z.string().describe(\"Constant string indicating the object types within results. For this endpoint, typically 'block'.\").nullable().optional(),\n block: NotionFetchAllBlockContents_BlockPaginationMetadataSchema.nullable().optional(),\n object: z.string().describe(\"Always 'list' for paginated responses.\"),\n results: z.array(NotionFetchAllBlockContents_BlockSchema).describe(\"Array of child block objects contained in the specified block.\"),\n has_more: z.boolean().describe(\"Whether additional results exist beyond this page. Returns false when all results have been retrieved, true when more data is available.\"),\n block_info: NotionFetchAllBlockContents_BlockAccessibilityInfoSchema.nullable().optional(),\n next_cursor: z.string().describe(\"Cursor value to fetch the next page of results. Only present when has_more is true. Treat as an opaque value and pass as start_cursor parameter in subsequent requests.\").nullable().optional(),\n recursion_info: NotionFetchAllBlockContents_RecursionLimitInfoSchema.nullable().optional(),\n}).describe(\"Response from the Notion API retrieve block children endpoint (GET /v1/blocks/{block_id}/children).\");\n\nexport const notionFetchAllBlockContents = action(\"NOTION_FETCH_ALL_BLOCK_CONTENTS\", {\n slug: \"notion-fetch-all-block-contents\",\n name: \"Fetch All Notion Block Contents\",\n description: \"Tool to fetch all child blocks for a given Notion block. Use when you need a complete listing of a block's children beyond a single page; supports optional recursive expansion of nested blocks.\",\n input: NotionFetchAllBlockContentsInput,\n output: NotionFetchAllBlockContentsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAiD,EAAE,OAAO;CACrE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,oUAAoU,CAAC,CAAC,SAAS;CAC7W,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,iVAAiV,CAAC,CAAC,SAAS;CAC1X,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,uKAAuK,CAAC,CAAC,SAAS;CACnO,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,GAAG,CAAC,CAAC,SAAS,wHAAwH,CAAC,CAAC,SAAS;CACrL,WAAW,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,wKAAwK,CAAC,CAAC,SAAS;CAClO,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,GAAI,CAAC,CAAC,SAAS,0NAA0N,CAAC,CAAC,SAAS;AAC3R,CAAC,CAAC,CAAC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