@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 @@
|
|
|
1
|
+
{"version":3,"file":"search-notion-page.mjs","names":[],"sources":["../../src/actions/search-notion-page.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NotionSearchNotionPageInput: z.ZodTypeAny = z.object({\n query: z.string().default(\"\").describe(\"Text to search for in page and database titles. Use specific search terms to find items by title (primary approach). Note: Notion's search has known limitations - indexing is not immediate and recently shared items may not appear. If a specific query returns empty results, try an empty query as a fallback to list all accessible items and filter client-side.\").optional(),\n direction: z.string().describe(\"Specifies the sort direction for the results. Required if `timestamp` is provided. Valid values are `ascending` or `descending`.\").optional(),\n page_size: z.number().int().default(25).describe(\"The number of items to include in the response. Must be an integer between 1 and 100, inclusive. Defaults to 25.\").optional(),\n timestamp: z.string().describe(\"The timestamp field to sort the results by. Currently, the only supported value is `last_edited_time`. If provided, `direction` must also be specified.\").optional(),\n filter_value: z.enum([\"page\", \"database\"]).default(\"page\").describe(\"Filters results by object type: 'page' or 'database'. Note: When searching databases, Notion's search may not find recently shared or newly created databases due to indexing delays. If specific database searches return empty results, try an empty query with filter_value='database' as a fallback to list all accessible databases.\").optional(),\n start_cursor: z.string().describe(\"An opaque cursor value from a previous response's `next_cursor` field. Must be exactly as returned by the API - do not pass page IDs, database IDs, or any other identifiers. If `None`, empty, or invalid, results start from the beginning.\").optional(),\n filter_property: z.string().default(\"object\").describe(\"The property to filter the search results by. Currently, the only supported value is `object`, which filters by the type specified in `filter_value`. Defaults to `object`.\").optional(),\n filter_properties: z.array(z.string()).describe(\"List of property names to include in the response for page results. When specified, only these properties will be returned in each page's 'properties' object, reducing response size. Useful for database pages with many custom properties. If not specified, all properties are returned. Note: This filter is applied client-side after receiving the API response.\").optional(),\n});\nconst NotionSearchNotionPage_FileFileSchema: z.ZodTypeAny = z.object({\n url: z.string(),\n expiry_time: z.string(),\n});\nconst NotionSearchNotionPage_ExternalFileSchema: z.ZodTypeAny = z.object({\n url: z.string(),\n});\nconst NotionSearchNotionPage_FileUploadSchema: z.ZodTypeAny = z.object({\n id: z.string(),\n});\nconst NotionSearchNotionPage_CustomEmojiInfoSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The ID of the custom emoji.\"),\n url: z.string().describe(\"The URL of the custom emoji image.\").nullable().optional(),\n name: z.string().describe(\"The name of the custom emoji.\").nullable().optional(),\n}).describe(\"Custom emoji details.\");\nconst NotionSearchNotionPage_FileObjectSchema: z.ZodTypeAny = z.object({\n file: NotionSearchNotionPage_FileFileSchema.nullable().optional(),\n name: z.string().nullable().optional(),\n type: z.enum([\"file\", \"file_upload\", \"external\", \"custom_emoji\"]),\n external: NotionSearchNotionPage_ExternalFileSchema.nullable().optional(),\n file_upload: NotionSearchNotionPage_FileUploadSchema.nullable().optional(),\n custom_emoji: NotionSearchNotionPage_CustomEmojiInfoSchema.nullable().optional(),\n});\nconst NotionSearchNotionPage_EmojiObjectSchema: z.ZodTypeAny = z.object({\n type: z.string().describe(\"Always 'emoji'.\"),\n emoji: z.string().describe(\"The emoji character.\"),\n}).describe(\"Standard emoji icon object.\");\nconst NotionSearchNotionPage_CustomEmojiObjectSchema: z.ZodTypeAny = z.object({\n type: z.string().describe(\"Always 'custom_emoji'.\"),\n custom_emoji: NotionSearchNotionPage_CustomEmojiInfoSchema.nullable().optional(),\n}).describe(\"Custom emoji icon object for workspace-uploaded emojis.\");\nconst NotionSearchNotionPage_ParentSchema: z.ZodTypeAny = z.object({\n type: z.enum([\"page_id\", \"workspace\", \"block_id\", \"database_id\", \"data_source_id\"]),\n page_id: z.string().nullable().optional(),\n block_id: z.string().nullable().optional(),\n workspace: z.boolean().nullable().optional(),\n database_id: z.string().nullable().optional(),\n data_source_id: z.string().nullable().optional(),\n});\nconst NotionSearchNotionPage_PersonInfoSchema: z.ZodTypeAny = z.object({\n email: z.string().describe(\"The email address of the person. Only available if integration has user capability permissions.\").nullable().optional(),\n}).describe(\"Person-specific information for user objects.\");\nconst NotionSearchNotionPage_BotOwnerUserSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"UUID of the owner user.\"),\n name: z.string().describe(\"Display name of the owner.\").nullable().optional(),\n type: z.string().describe(\"User type.\").nullable().optional(),\n object: z.string().describe(\"Always 'user'.\"),\n person: NotionSearchNotionPage_PersonInfoSchema.nullable().optional(),\n avatar_url: z.string().describe(\"Avatar URL of the owner.\").nullable().optional(),\n}).describe(\"User reference for bot owner when type is 'user'.\");\nconst NotionSearchNotionPage_BotOwnerSchema: z.ZodTypeAny = z.object({\n type: z.enum([\"workspace\", \"user\"]).describe(\"The type of owner - either 'workspace' or 'user'.\"),\n user: NotionSearchNotionPage_BotOwnerUserSchema.nullable().optional(),\n workspace: z.boolean().describe(\"Boolean value when owner type is workspace.\").nullable().optional(),\n}).describe(\"Owner information for bot users.\");\nconst NotionSearchNotionPage_WorkspaceLimitsSchema: z.ZodTypeAny = z.object({\n max_file_upload_size_in_bytes: z.number().int().describe(\"Maximum file size allowed for uploads in bytes.\").nullable().optional(),\n}).describe(\"Workspace limit restrictions for bot users.\");\nconst NotionSearchNotionPage_BotInfoSchema: z.ZodTypeAny = z.object({\n owner: NotionSearchNotionPage_BotOwnerSchema.nullable().optional(),\n workspace_id: z.string().describe(\"ID of the bot's workspace.\").nullable().optional(),\n workspace_name: z.string().describe(\"Name of the workspace that owns the bot. Null if owner type is 'user'.\").nullable().optional(),\n workspace_limits: NotionSearchNotionPage_WorkspaceLimitsSchema.nullable().optional(),\n}).describe(\"Bot-specific information for user objects.\");\nconst NotionSearchNotionPage_PartialUserSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"UUID identifier for the user.\"),\n bot: NotionSearchNotionPage_BotInfoSchema.nullable().optional(),\n name: z.string().describe(\"Display name of the user.\").nullable().optional(),\n type: z.enum([\"person\", \"bot\"]).describe(\"The type of user - 'person' or 'bot'.\").nullable().optional(),\n object: z.string().describe(\"Always 'user'.\"),\n person: NotionSearchNotionPage_PersonInfoSchema.nullable().optional(),\n avatar_url: z.string().describe(\"URL of the user's avatar image.\").nullable().optional(),\n}).describe(\"Represents a user in Notion (person or bot).\");\nconst NotionSearchNotionPage_PageSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"UUID of the page.\"),\n url: z.string().describe(\"URL of the page.\"),\n icon: z.union([NotionSearchNotionPage_FileObjectSchema, NotionSearchNotionPage_EmojiObjectSchema, NotionSearchNotionPage_CustomEmojiObjectSchema]).nullable().optional(),\n cover: NotionSearchNotionPage_FileObjectSchema.nullable().optional(),\n object: z.string().describe(\"Always 'page'.\"),\n parent: NotionSearchNotionPage_ParentSchema.nullable(),\n archived: z.boolean().describe(\"Whether the page is archived.\"),\n in_trash: z.boolean().describe(\"Whether the page is in trash.\"),\n is_locked: z.boolean().describe(\"Whether the page is locked for editing.\").nullable().optional(),\n created_by: NotionSearchNotionPage_PartialUserSchema.nullable(),\n properties: z.object({}).describe(\"Map of property names to their values. Structure varies by property type.\"),\n public_url: z.string().describe(\"Public URL if page is published.\").nullable().optional(),\n created_time: z.string().describe(\"ISO 8601 timestamp when page was created.\"),\n last_edited_by: NotionSearchNotionPage_PartialUserSchema.nullable(),\n last_edited_time: z.string().describe(\"ISO 8601 timestamp of last edit.\"),\n}).describe(\"Represents a Notion page object.\");\nconst NotionSearchNotionPage_LinkObjectSchema: z.ZodTypeAny = z.object({\n url: z.string().describe(\"The URL the text links to.\"),\n type: z.string().describe(\"Optional link type (e.g., 'url').\").nullable().optional(),\n}).describe(\"Link object for inline links in text.\");\nconst NotionSearchNotionPage_RichTextTextSchema: z.ZodTypeAny = z.object({\n link: NotionSearchNotionPage_LinkObjectSchema.nullable().optional(),\n content: z.string().describe(\"The text content.\"),\n}).describe(\"Text content for rich text objects.\");\nconst NotionSearchNotionPage_DateMentionValueSchema: z.ZodTypeAny = z.object({\n end: z.string().describe(\"End date in ISO 8601 format for ranges.\").nullable().optional(),\n start: z.string().describe(\"Start date in ISO 8601 format.\"),\n time_zone: z.string().describe(\"Time zone for the date.\").nullable().optional(),\n}).describe(\"Date value for date mentions.\");\nconst NotionSearchNotionPage_PageMentionSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"UUID of the mentioned page.\"),\n}).describe(\"Page mention reference.\");\nconst NotionSearchNotionPage_UserMentionSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"UUID of the mentioned user.\"),\n object: z.string().describe(\"Always 'user'.\"),\n}).describe(\"User mention reference.\");\nconst NotionSearchNotionPage_DatabaseMentionSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"UUID of the mentioned database.\"),\n}).describe(\"Database mention reference.\");\nconst NotionSearchNotionPage_LinkPreviewMentionSchema: z.ZodTypeAny = z.object({\n url: z.string().describe(\"The URL of the link preview.\"),\n}).describe(\"Link preview mention reference.\");\nconst NotionSearchNotionPage_TemplateMentionDateSchema: z.ZodTypeAny = z.object({\n type: z.string().describe(\"Always 'template_mention_date'.\"),\n template_mention_date: z.enum([\"today\", \"now\"]).describe(\"The template date value - 'today' or 'now'.\"),\n}).describe(\"Template mention for dates.\");\nconst NotionSearchNotionPage_TemplateMentionUserSchema: z.ZodTypeAny = z.object({\n type: z.string().describe(\"Always 'template_mention_user'.\"),\n template_mention_user: z.string().describe(\"The template user value - always 'me'.\"),\n}).describe(\"Template mention for users.\");\nconst NotionSearchNotionPage_MentionObjectSchema: z.ZodTypeAny = z.object({\n date: NotionSearchNotionPage_DateMentionValueSchema.nullable().optional(),\n page: NotionSearchNotionPage_PageMentionSchema.nullable().optional(),\n type: z.enum([\"user\", \"page\", \"database\", \"date\", \"link_preview\", \"template_mention\"]).describe(\"The type of mention.\"),\n user: NotionSearchNotionPage_UserMentionSchema.nullable().optional(),\n database: NotionSearchNotionPage_DatabaseMentionSchema.nullable().optional(),\n link_preview: NotionSearchNotionPage_LinkPreviewMentionSchema.nullable().optional(),\n template_mention: z.union([NotionSearchNotionPage_TemplateMentionDateSchema, NotionSearchNotionPage_TemplateMentionUserSchema]).nullable().optional(),\n}).describe(\"Mention object that can reference users, pages, databases, dates, or link previews.\");\nconst NotionSearchNotionPage_RichTextEquationSchema: z.ZodTypeAny = z.object({\n expression: z.string().describe(\"The LaTeX equation expression.\"),\n}).describe(\"Equation content for rich text objects.\");\nconst NotionSearchNotionPage_AnnotationsSchema: z.ZodTypeAny = z.object({\n bold: z.boolean().describe(\"Whether the text is bold.\"),\n code: z.boolean().describe(\"Whether the text is code-formatted.\"),\n color: z.string().describe(\"Text color.\"),\n italic: z.boolean().describe(\"Whether the text is italic.\"),\n underline: z.boolean().describe(\"Whether the text is underlined.\"),\n strikethrough: z.boolean().describe(\"Whether the text has strikethrough.\"),\n}).describe(\"Text styling annotations.\");\nconst NotionSearchNotionPage_RichTextSchema: z.ZodTypeAny = z.object({\n href: z.string().describe(\"The URL of any link in the text.\").nullable().optional(),\n text: NotionSearchNotionPage_RichTextTextSchema.nullable().optional(),\n type: z.enum([\"text\", \"mention\", \"equation\"]).describe(\"The type of rich text - 'text', 'mention', or 'equation'.\"),\n mention: NotionSearchNotionPage_MentionObjectSchema.nullable().optional(),\n equation: NotionSearchNotionPage_RichTextEquationSchema.nullable().optional(),\n plain_text: z.string().describe(\"The plain text representation.\"),\n annotations: NotionSearchNotionPage_AnnotationsSchema.nullable(),\n}).describe(\"Rich text object that can contain text, mentions, or equations.\");\nconst NotionSearchNotionPage_DataSourceSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"UUID of the data source.\"),\n icon: z.union([NotionSearchNotionPage_FileObjectSchema, NotionSearchNotionPage_EmojiObjectSchema, NotionSearchNotionPage_CustomEmojiObjectSchema]).nullable().optional(),\n title: z.array(NotionSearchNotionPage_RichTextSchema).describe(\"Title as rich text array.\").nullable().optional(),\n object: z.string().describe(\"Always 'data_source'.\"),\n parent: NotionSearchNotionPage_ParentSchema.nullable().optional(),\n archived: z.boolean().describe(\"Whether archived.\").nullable().optional(),\n in_trash: z.boolean().describe(\"Whether in trash.\").nullable().optional(),\n created_by: NotionSearchNotionPage_PartialUserSchema.nullable().optional(),\n properties: z.object({}).describe(\"Schema mapping property names to property definitions.\"),\n description: z.array(NotionSearchNotionPage_RichTextSchema).describe(\"Description as rich text array.\").nullable().optional(),\n created_time: z.string().describe(\"ISO 8601 timestamp when created.\").nullable().optional(),\n last_edited_by: NotionSearchNotionPage_PartialUserSchema.nullable().optional(),\n database_parent: NotionSearchNotionPage_ParentSchema.nullable().optional(),\n last_edited_time: z.string().describe(\"ISO 8601 timestamp of last edit.\").nullable().optional(),\n}).describe(\"Represents a Notion data source object.\");\nconst NotionSearchNotionPage_DatabaseSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"UUID of the database.\"),\n url: z.string().describe(\"URL of the database.\"),\n icon: z.union([NotionSearchNotionPage_FileObjectSchema, NotionSearchNotionPage_EmojiObjectSchema, NotionSearchNotionPage_CustomEmojiObjectSchema]).nullable().optional(),\n cover: NotionSearchNotionPage_FileObjectSchema.nullable().optional(),\n title: z.array(NotionSearchNotionPage_RichTextSchema).describe(\"Database title as rich text array.\").nullable().optional(),\n object: z.string().describe(\"Always 'database'.\"),\n parent: NotionSearchNotionPage_ParentSchema.nullable(),\n archived: z.boolean().default(false).describe(\"Whether the database is archived.\").nullable().optional(),\n in_trash: z.boolean().describe(\"Whether the database is in trash.\"),\n is_inline: z.boolean().describe(\"Whether the database is inline.\").nullable().optional(),\n created_by: NotionSearchNotionPage_PartialUserSchema.nullable(),\n properties: z.object({}).describe(\"Map of property names to property schema definitions.\"),\n public_url: z.string().describe(\"Public URL if database is published.\").nullable().optional(),\n description: z.array(NotionSearchNotionPage_RichTextSchema).describe(\"Database description as rich text array.\").nullable().optional(),\n created_time: z.string().describe(\"ISO 8601 timestamp when created.\"),\n last_edited_by: NotionSearchNotionPage_PartialUserSchema.nullable(),\n last_edited_time: z.string().describe(\"ISO 8601 timestamp of last edit.\"),\n}).describe(\"Represents a Notion database object.\");\nconst NotionSearchNotionPage_PageOrDatabaseMarkerSchema: z.ZodTypeAny = z.record(z.string(), z.unknown()).describe(\"Empty marker object for union discriminator in search responses.\");\nexport const NotionSearchNotionPageOutput: z.ZodTypeAny = z.object({\n type: z.string().describe(\"Union type discriminator.\").nullable().optional(),\n object: z.string().describe(\"Indicates a paginated list response.\"),\n results: z.array(z.union([NotionSearchNotionPage_PageSchema, NotionSearchNotionPage_DataSourceSchema, NotionSearchNotionPage_DatabaseSchema])).describe(\"Array of search results. Each item is either a Page, Data source, or Database object.\"),\n has_more: z.boolean().describe(\"True if there are more results after this page; otherwise false.\"),\n request_id: z.string().describe(\"Request ID from the Notion API.\").nullable().optional(),\n next_cursor: z.string().describe(\"A cursor to be used as start_cursor for the next page of results, or null if there are no more results.\").nullable().optional(),\n page_or_database: NotionSearchNotionPage_PageOrDatabaseMarkerSchema.nullable().optional(),\n composio_execution_message: z.string().describe(\"Message from the action execution indicating any modifications or warnings about the request parameters.\").nullable().optional(),\n}).describe(\"Paginated list of search results matching the query. Results are Page, Data source, or Database objects shared with the integration.\");\n\nexport const notionSearchNotionPage = action(\"NOTION_SEARCH_NOTION_PAGE\", {\n slug: \"notion-search-notion-page\",\n name: \"Search Notion pages and databases\",\n description: \"Searches Notion pages and databases by title. Use specific search terms to find items by title (primary approach). KNOWN LIMITATIONS: (1) Search indexing is not immediate - recently shared items may not appear. (2) Search is not exhaustive - results may be incomplete. (3) Database pages return all custom properties with full nested structures, which can create large responses for databases with many properties - use filter_properties to reduce response size. FALLBACK STRATEGY: If a specific title search returns empty results despite knowing items exist, try an empty query to list all accessible items and filter client-side.\",\n input: NotionSearchNotionPageInput,\n output: NotionSearchNotionPageOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA4C,EAAE,OAAO;CAChE,OAAO,EAAE,OAAO,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,yWAAyW,CAAC,CAAC,SAAS;CAC3Z,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,kIAAkI,CAAC,CAAC,SAAS;CAC5K,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,kHAAkH,CAAC,CAAC,SAAS;CAC9K,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,yJAAyJ,CAAC,CAAC,SAAS;CACnM,cAAc,EAAE,KAAK,CAAC,QAAQ,UAAU,CAAC,CAAC,CAAC,QAAQ,MAAM,CAAC,CAAC,SAAS,2UAA2U,CAAC,CAAC,SAAS;CAC1Z,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,+OAA+O,CAAC,CAAC,SAAS;CAC5R,iBAAiB,EAAE,OAAO,CAAC,CAAC,QAAQ,QAAQ,CAAC,CAAC,SAAS,6KAA6K,CAAC,CAAC,SAAS;CAC/O,mBAAmB,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,yWAAyW,CAAC,CAAC,SAAS;AACta,CAAC;AACD,MAAM,wCAAsD,EAAE,OAAO;CACnE,KAAK,EAAE,OAAO;CACd,aAAa,EAAE,OAAO;AACxB,CAAC;AACD,MAAM,4CAA0D,EAAE,OAAO,EACvE,KAAK,EAAE,OAAO,EAChB,CAAC;AACD,MAAM,0CAAwD,EAAE,OAAO,EACrE,IA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C3E,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC;EAClE,SAAS,EAAE,MAAM,EAAE,MAAM;GAAC;GAAmC;GAAyC;EAAqC,CAAC,CAAC,CAAC,CAAC,SAAS,uFAAuF;EAC/O,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,kEAAkE;EACjG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,yGAAyG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChK,kBAAkB,kDAAkD,SAAS,CAAC,CAAC,SAAS;EACxF,4BAA4B,EAAE,OAAO,CAAC,CAAC,SAAS,0GAA0G,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClL,CAAC,CAAC,CAAC,SAAS,sIAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/send-file-upload.ts
|
|
4
|
+
const NotionSendFileUploadInput = zod.z.object({
|
|
5
|
+
file: zod.z.object({
|
|
6
|
+
name: zod.z.string().describe("The filename that will be used when uploading the file (e.g., 'document.pdf', 'image.jpg')."),
|
|
7
|
+
s3key: zod.z.string().describe("A file reference key. Required only when NOT using file_content_base64 or file_path.").optional(),
|
|
8
|
+
mimetype: zod.z.string().describe("The MIME type of the file.")
|
|
9
|
+
}).describe("File information including name and mimetype. FileInfo object where 'name' is the filename (e.g., 'document.pdf', 'test.txt')."),
|
|
10
|
+
part_number: zod.z.number().int().describe("Required when the file upload mode is 'multi_part'. Indicates which part is being sent (parts are numbered starting from 1). For single-part uploads, omit this parameter.").optional(),
|
|
11
|
+
file_upload_id: zod.z.string().describe("Identifier of the file upload object to send data for. This ID is obtained from the Create File Upload action."),
|
|
12
|
+
file_content_base64: zod.z.string().describe("Optional base64-encoded file content. If provided, this will be used instead of downloading from S3 or reading from file_path. Useful for direct file content submission.").optional()
|
|
13
|
+
});
|
|
14
|
+
const NotionSendFileUploadOutput = zod.z.object({
|
|
15
|
+
id: zod.z.string().describe("Unique identifier (UUID) for the file upload."),
|
|
16
|
+
object: zod.z.string().describe("Always set to 'file_upload'. Identifies the object type."),
|
|
17
|
+
status: zod.z.string().describe("Current status of the file upload. Can be 'pending', 'uploaded', 'expired', or 'failed'."),
|
|
18
|
+
archived: zod.z.boolean().describe("Indicates whether the file upload has been archived."),
|
|
19
|
+
filename: zod.z.string().describe("Name of the uploaded file.").nullable().optional(),
|
|
20
|
+
request_id: zod.z.string().describe("Request identifier for tracking the file upload operation.").nullable().optional(),
|
|
21
|
+
expiry_time: zod.z.string().describe("ISO 8601 timestamp when the file upload will expire."),
|
|
22
|
+
content_type: zod.z.string().describe("The MIME content type of the uploaded file.").nullable().optional(),
|
|
23
|
+
created_time: zod.z.string().describe("ISO 8601 timestamp when the file upload was created."),
|
|
24
|
+
content_length: zod.z.number().int().describe("The total size of the file in bytes.").nullable().optional(),
|
|
25
|
+
last_edited_time: zod.z.string().describe("ISO 8601 timestamp when the file upload was last modified.")
|
|
26
|
+
});
|
|
27
|
+
const notionSendFileUpload = require_action.action("NOTION_SEND_FILE_UPLOAD", {
|
|
28
|
+
slug: "notion-send-file-upload",
|
|
29
|
+
name: "Send file upload",
|
|
30
|
+
description: "Tool to transmit file contents to Notion for a file upload object. Use after creating a file upload object to send the actual file data.",
|
|
31
|
+
input: NotionSendFileUploadInput,
|
|
32
|
+
output: NotionSendFileUploadOutput
|
|
33
|
+
});
|
|
34
|
+
//#endregion
|
|
35
|
+
exports.notionSendFileUpload = notionSendFileUpload;
|
|
36
|
+
|
|
37
|
+
//# sourceMappingURL=send-file-upload.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"send-file-upload.cjs","names":["z","action"],"sources":["../../src/actions/send-file-upload.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NotionSendFileUploadInput: z.ZodTypeAny = z.object({\n file: z.object({\n name: z.string().describe(\"The filename that will be used when uploading the file (e.g., 'document.pdf', 'image.jpg').\"),\n s3key: z.string().describe(\"A file reference key. Required only when NOT using file_content_base64 or file_path.\").optional(),\n mimetype: z.string().describe(\"The MIME type of the file.\"),\n}).describe(\"File information including name and mimetype. FileInfo object where 'name' is the filename (e.g., 'document.pdf', 'test.txt').\"),\n part_number: z.number().int().describe(\"Required when the file upload mode is 'multi_part'. Indicates which part is being sent (parts are numbered starting from 1). For single-part uploads, omit this parameter.\").optional(),\n file_upload_id: z.string().describe(\"Identifier of the file upload object to send data for. This ID is obtained from the Create File Upload action.\"),\n file_content_base64: z.string().describe(\"Optional base64-encoded file content. If provided, this will be used instead of downloading from S3 or reading from file_path. Useful for direct file content submission.\").optional(),\n});\nexport const NotionSendFileUploadOutput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier (UUID) for the file upload.\"),\n object: z.string().describe(\"Always set to 'file_upload'. Identifies the object type.\"),\n status: z.string().describe(\"Current status of the file upload. Can be 'pending', 'uploaded', 'expired', or 'failed'.\"),\n archived: z.boolean().describe(\"Indicates whether the file upload has been archived.\"),\n filename: z.string().describe(\"Name of the uploaded file.\").nullable().optional(),\n request_id: z.string().describe(\"Request identifier for tracking the file upload operation.\").nullable().optional(),\n expiry_time: z.string().describe(\"ISO 8601 timestamp when the file upload will expire.\"),\n content_type: z.string().describe(\"The MIME content type of the uploaded file.\").nullable().optional(),\n created_time: z.string().describe(\"ISO 8601 timestamp when the file upload was created.\"),\n content_length: z.number().int().describe(\"The total size of the file in bytes.\").nullable().optional(),\n last_edited_time: z.string().describe(\"ISO 8601 timestamp when the file upload was last modified.\"),\n});\n\nexport const notionSendFileUpload = action(\"NOTION_SEND_FILE_UPLOAD\", {\n slug: \"notion-send-file-upload\",\n name: \"Send file upload\",\n description: \"Tool to transmit file contents to Notion for a file upload object. Use after creating a file upload object to send the actual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AAC,CAAC,SAAS;CACrG,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD;CACxF,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D;AACpG,CAAC;AAED,MAAa,uBAAuBC,eAAAA,OAAO,2BAA2B;CACpE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/send-file-upload.d.ts
|
|
4
|
+
declare const NotionSendFileUploadInput: z.ZodTypeAny;
|
|
5
|
+
declare const NotionSendFileUploadOutput: z.ZodTypeAny;
|
|
6
|
+
declare const notionSendFileUpload: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { notionSendFileUpload };
|
|
9
|
+
//# sourceMappingURL=send-file-upload.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"send-file-upload.d.cts","names":[],"sources":["../../src/actions/send-file-upload.ts"],"mappings":";;;cAIa,yBAAA,EAA2B,CAAA,CAAE,UASxC;AAAA,cACW,0BAAA,EAA4B,CAAA,CAAE,UAYzC;AAAA,cAEW,oBAAA,gCAAoB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/send-file-upload.d.ts
|
|
4
|
+
declare const NotionSendFileUploadInput: z.ZodTypeAny;
|
|
5
|
+
declare const NotionSendFileUploadOutput: z.ZodTypeAny;
|
|
6
|
+
declare const notionSendFileUpload: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { notionSendFileUpload };
|
|
9
|
+
//# sourceMappingURL=send-file-upload.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"send-file-upload.d.mts","names":[],"sources":["../../src/actions/send-file-upload.ts"],"mappings":";;;cAIa,yBAAA,EAA2B,CAAA,CAAE,UASxC;AAAA,cACW,0BAAA,EAA4B,CAAA,CAAE,UAYzC;AAAA,cAEW,oBAAA,gCAAoB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
const notionSendFileUpload = action("NOTION_SEND_FILE_UPLOAD", {
|
|
4
|
+
slug: "notion-send-file-upload",
|
|
5
|
+
name: "Send file upload",
|
|
6
|
+
description: "Tool to transmit file contents to Notion for a file upload object. Use after creating a file upload object to send the actual file data.",
|
|
7
|
+
input: z.object({
|
|
8
|
+
file: z.object({
|
|
9
|
+
name: z.string().describe("The filename that will be used when uploading the file (e.g., 'document.pdf', 'image.jpg')."),
|
|
10
|
+
s3key: z.string().describe("A file reference key. Required only when NOT using file_content_base64 or file_path.").optional(),
|
|
11
|
+
mimetype: z.string().describe("The MIME type of the file.")
|
|
12
|
+
}).describe("File information including name and mimetype. FileInfo object where 'name' is the filename (e.g., 'document.pdf', 'test.txt')."),
|
|
13
|
+
part_number: z.number().int().describe("Required when the file upload mode is 'multi_part'. Indicates which part is being sent (parts are numbered starting from 1). For single-part uploads, omit this parameter.").optional(),
|
|
14
|
+
file_upload_id: z.string().describe("Identifier of the file upload object to send data for. This ID is obtained from the Create File Upload action."),
|
|
15
|
+
file_content_base64: z.string().describe("Optional base64-encoded file content. If provided, this will be used instead of downloading from S3 or reading from file_path. Useful for direct file content submission.").optional()
|
|
16
|
+
}),
|
|
17
|
+
output: z.object({
|
|
18
|
+
id: z.string().describe("Unique identifier (UUID) for the file upload."),
|
|
19
|
+
object: z.string().describe("Always set to 'file_upload'. Identifies the object type."),
|
|
20
|
+
status: z.string().describe("Current status of the file upload. Can be 'pending', 'uploaded', 'expired', or 'failed'."),
|
|
21
|
+
archived: z.boolean().describe("Indicates whether the file upload has been archived."),
|
|
22
|
+
filename: z.string().describe("Name of the uploaded file.").nullable().optional(),
|
|
23
|
+
request_id: z.string().describe("Request identifier for tracking the file upload operation.").nullable().optional(),
|
|
24
|
+
expiry_time: z.string().describe("ISO 8601 timestamp when the file upload will expire."),
|
|
25
|
+
content_type: z.string().describe("The MIME content type of the uploaded file.").nullable().optional(),
|
|
26
|
+
created_time: z.string().describe("ISO 8601 timestamp when the file upload was created."),
|
|
27
|
+
content_length: z.number().int().describe("The total size of the file in bytes.").nullable().optional(),
|
|
28
|
+
last_edited_time: z.string().describe("ISO 8601 timestamp when the file upload was last modified.")
|
|
29
|
+
})
|
|
30
|
+
});
|
|
31
|
+
//#endregion
|
|
32
|
+
export { notionSendFileUpload };
|
|
33
|
+
|
|
34
|
+
//# sourceMappingURL=send-file-upload.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"send-file-upload.mjs","names":[],"sources":["../../src/actions/send-file-upload.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NotionSendFileUploadInput: z.ZodTypeAny = z.object({\n file: z.object({\n name: z.string().describe(\"The filename that will be used when uploading the file (e.g., 'document.pdf', 'image.jpg').\"),\n s3key: z.string().describe(\"A file reference key. Required only when NOT using file_content_base64 or file_path.\").optional(),\n mimetype: z.string().describe(\"The MIME type of the file.\"),\n}).describe(\"File information including name and mimetype. FileInfo object where 'name' is the filename (e.g., 'document.pdf', 'test.txt').\"),\n part_number: z.number().int().describe(\"Required when the file upload mode is 'multi_part'. Indicates which part is being sent (parts are numbered starting from 1). For single-part uploads, omit this parameter.\").optional(),\n file_upload_id: z.string().describe(\"Identifier of the file upload object to send data for. This ID is obtained from the Create File Upload action.\"),\n file_content_base64: z.string().describe(\"Optional base64-encoded file content. If provided, this will be used instead of downloading from S3 or reading from file_path. Useful for direct file content submission.\").optional(),\n});\nexport const NotionSendFileUploadOutput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier (UUID) for the file upload.\"),\n object: z.string().describe(\"Always set to 'file_upload'. Identifies the object type.\"),\n status: z.string().describe(\"Current status of the file upload. Can be 'pending', 'uploaded', 'expired', or 'failed'.\"),\n archived: z.boolean().describe(\"Indicates whether the file upload has been archived.\"),\n filename: z.string().describe(\"Name of the uploaded file.\").nullable().optional(),\n request_id: z.string().describe(\"Request identifier for tracking the file upload operation.\").nullable().optional(),\n expiry_time: z.string().describe(\"ISO 8601 timestamp when the file upload will expire.\"),\n content_type: z.string().describe(\"The MIME content type of the uploaded file.\").nullable().optional(),\n created_time: z.string().describe(\"ISO 8601 timestamp when the file upload was created.\"),\n content_length: z.number().int().describe(\"The total size of the file in bytes.\").nullable().optional(),\n last_edited_time: z.string().describe(\"ISO 8601 timestamp when the file upload was last modified.\"),\n});\n\nexport const notionSendFileUpload = action(\"NOTION_SEND_FILE_UPLOAD\", {\n slug: \"notion-send-file-upload\",\n name: \"Send file upload\",\n description: \"Tool to transmit file contents to Notion for a file upload object. Use after creating a file upload object to send the actual file data.\",\n input: NotionSendFileUploadInput,\n output: NotionSendFileUploadOutput,\n});\n"],"mappings":";;AA4BA,MAAa,uBAAuB,OAAO,2BAA2B;CACpE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OA5BqD,EAAE,OAAO;EAC9D,MAAM,EAAE,OAAO;GACf,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,6FAA6F;GACvH,OAAO,EA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|
|
3
|
+
//#region src/actions/update-block.ts
|
|
4
|
+
const NotionUpdateBlockInput = zod.z.object({
|
|
5
|
+
content: zod.z.string().describe("The new text content for the block. Replaces existing text content entirely. ⚠️ CRITICAL: Notion API enforces a HARD LIMIT of 2000 characters per text.content field. Content exceeding 2000 chars will cause a validation error. For longer content, split across multiple blocks using append_block_children or add_multiple_page_content."),
|
|
6
|
+
block_id: zod.z.string().describe("Identifier of the Notion block to be updated. Must be a valid UUID (with or without dashes). To find a block's ID, other Notion actions that list or retrieve blocks can be used. For updating content within a page (which is also a block), its ID can be obtained using actions like `NOTION_FETCH_DATA` to get page IDs and titles."),
|
|
7
|
+
language: zod.z.string().describe("Programming language for code blocks. Required when block_type='code'. Supported values include: 'abap', 'arduino', 'bash', 'basic', 'c', 'clojure', 'coffeescript', 'c++', 'c#', 'css', 'dart', 'diff', 'docker', 'elixir', 'elm', 'erlang', 'flow', 'fortran', 'f#', 'gherkin', 'glsl', 'go', 'graphql', 'groovy', 'haskell', 'html', 'java', 'javascript', 'json', 'julia', 'kotlin', 'latex', 'less', 'lisp', 'livescript', 'lua', 'makefile', 'markdown', 'markup', 'matlab', 'mermaid', 'nix', 'objective-c', 'ocaml', 'pascal', 'perl', 'php', 'plain text', 'powershell', 'prolog', 'protobuf', 'python', 'r', 'reason', 'ruby', 'rust', 'sass', 'scala', 'scheme', 'scss', 'shell', 'sql', 'swift', 'typescript', 'vb.net', 'verilog', 'vhdl', 'visual basic', 'webassembly', 'xml', 'yaml', 'java/c/c++/c#'. If not provided for a code block, the existing language will be preserved.").optional(),
|
|
8
|
+
block_type: zod.z.string().describe("The type of the block being updated. If not provided, the action will automatically detect the block type by fetching the block first (adds 1 extra API call). If provided, it must match the EXISTING block's type - you cannot change a block's type. Supported types: 'paragraph', 'heading_1', 'heading_2', 'heading_3', 'bulleted_list_item', 'numbered_list_item', 'to_do', 'toggle', 'code', 'quote', 'callout'.").optional(),
|
|
9
|
+
additional_properties: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Optional dictionary of type-specific properties. Common examples: 'checked' (boolean) for to_do blocks to mark complete/incomplete, 'color' (string like 'blue_background', 'gray', 'red') for text styling, 'is_toggleable' (boolean) for heading blocks to make them collapsible, 'icon' (object with 'type' and 'emoji' fields) for callout blocks. NOTE: Cannot use 'archived' here - use NOTION_DELETE_BLOCK to remove blocks instead. NOTE: Null/None values are automatically filtered out (omitting a property preserves its existing value).").optional()
|
|
10
|
+
}).describe("Input parameters for updating a Notion block.");
|
|
11
|
+
const NotionUpdateBlock_FileObjectSchema = zod.z.object({
|
|
12
|
+
url: zod.z.string().describe("Temporary authenticated URL valid for one hour"),
|
|
13
|
+
expiry_time: zod.z.string().describe("ISO 8601 datetime when the URL expires")
|
|
14
|
+
}).describe("Notion-hosted file object.");
|
|
15
|
+
const NotionUpdateBlock_TextContentSchema = zod.z.object({
|
|
16
|
+
link: zod.z.object({}).describe("Link information with url key, or null").nullable().optional(),
|
|
17
|
+
content: zod.z.string().describe("The actual text content")
|
|
18
|
+
}).describe("Text content object within rich text.");
|
|
19
|
+
const NotionUpdateBlock_AnnotationsSchema = zod.z.object({
|
|
20
|
+
bold: zod.z.boolean().describe("Whether the text is bold"),
|
|
21
|
+
code: zod.z.boolean().describe("Whether the text is formatted as code"),
|
|
22
|
+
color: zod.z.string().describe("Text color: default, blue, green, red, gray, brown, orange, yellow, pink, purple, or with _background suffix for background colors"),
|
|
23
|
+
italic: zod.z.boolean().describe("Whether the text is italic"),
|
|
24
|
+
underline: zod.z.boolean().describe("Whether the text is underlined"),
|
|
25
|
+
strikethrough: zod.z.boolean().describe("Whether the text has strikethrough")
|
|
26
|
+
}).describe("Styling information for rich text.");
|
|
27
|
+
const NotionUpdateBlock_RichTextSchema = zod.z.object({
|
|
28
|
+
href: zod.z.string().describe("URL for links or Notion mentions, or null").nullable().optional(),
|
|
29
|
+
text: NotionUpdateBlock_TextContentSchema.nullable().optional(),
|
|
30
|
+
type: zod.z.string().describe("Type of rich text: text, mention, or equation"),
|
|
31
|
+
plain_text: zod.z.string().describe("Plain text representation without formatting"),
|
|
32
|
+
annotations: NotionUpdateBlock_AnnotationsSchema.nullable()
|
|
33
|
+
}).describe("Rich text object containing formatted text content.");
|
|
34
|
+
const NotionUpdateBlock_ExternalObjectSchema = zod.z.object({ url: zod.z.string().describe("URL of the externally hosted resource") }).describe("External file/media URL object.");
|
|
35
|
+
const NotionUpdateBlock_FileUploadObjectSchema = zod.z.object({ id: zod.z.string().describe("UUIDv4 identifier referencing the uploaded file") }).describe("API-uploaded file reference.");
|
|
36
|
+
const NotionUpdateBlock_PdfBlockSchema = zod.z.object({
|
|
37
|
+
file: NotionUpdateBlock_FileObjectSchema.nullable().optional(),
|
|
38
|
+
type: zod.z.string().describe("Type of PDF: external, file, or file_upload"),
|
|
39
|
+
caption: zod.z.array(NotionUpdateBlock_RichTextSchema).describe("Array of rich text objects for the PDF caption").nullable().optional(),
|
|
40
|
+
external: NotionUpdateBlock_ExternalObjectSchema.nullable().optional(),
|
|
41
|
+
file_upload: NotionUpdateBlock_FileUploadObjectSchema.nullable().optional()
|
|
42
|
+
}).describe("PDF block-specific properties.");
|
|
43
|
+
const NotionUpdateBlock_CodeBlockSchema = zod.z.object({
|
|
44
|
+
caption: zod.z.array(NotionUpdateBlock_RichTextSchema).describe("Array of rich text objects for the code caption").nullable().optional(),
|
|
45
|
+
language: zod.z.string().describe("Programming language for syntax highlighting"),
|
|
46
|
+
rich_text: zod.z.array(NotionUpdateBlock_RichTextSchema).describe("Array of rich text objects containing the code content")
|
|
47
|
+
}).describe("Code block-specific properties.");
|
|
48
|
+
const NotionUpdateBlock_FileBlockSchema = zod.z.object({
|
|
49
|
+
file: NotionUpdateBlock_FileObjectSchema.nullable().optional(),
|
|
50
|
+
type: zod.z.string().describe("Type of file: external, file, or file_upload"),
|
|
51
|
+
caption: zod.z.array(NotionUpdateBlock_RichTextSchema).describe("Array of rich text objects for the file caption").nullable().optional(),
|
|
52
|
+
external: NotionUpdateBlock_ExternalObjectSchema.nullable().optional(),
|
|
53
|
+
file_upload: NotionUpdateBlock_FileUploadObjectSchema.nullable().optional()
|
|
54
|
+
}).describe("File block-specific properties.");
|
|
55
|
+
const NotionUpdateBlock_AudioBlockSchema = zod.z.object({
|
|
56
|
+
file: NotionUpdateBlock_FileObjectSchema.nullable().optional(),
|
|
57
|
+
type: zod.z.string().describe("Type of audio: external, file, or file_upload"),
|
|
58
|
+
caption: zod.z.array(NotionUpdateBlock_RichTextSchema).describe("Array of rich text objects for the audio caption").nullable().optional(),
|
|
59
|
+
external: NotionUpdateBlock_ExternalObjectSchema.nullable().optional(),
|
|
60
|
+
file_upload: NotionUpdateBlock_FileUploadObjectSchema.nullable().optional()
|
|
61
|
+
}).describe("Audio block-specific properties.");
|
|
62
|
+
const NotionUpdateBlock_EmbedBlockSchema = zod.z.object({ url: zod.z.string().describe("URL of the embedded content") }).describe("Embed block-specific properties.");
|
|
63
|
+
const NotionUpdateBlock_ImageBlockSchema = zod.z.object({
|
|
64
|
+
file: NotionUpdateBlock_FileObjectSchema.nullable().optional(),
|
|
65
|
+
type: zod.z.string().describe("Type of image: external, file, or file_upload"),
|
|
66
|
+
caption: zod.z.array(NotionUpdateBlock_RichTextSchema).describe("Array of rich text objects for the image caption").nullable().optional(),
|
|
67
|
+
external: NotionUpdateBlock_ExternalObjectSchema.nullable().optional(),
|
|
68
|
+
file_upload: NotionUpdateBlock_FileUploadObjectSchema.nullable().optional()
|
|
69
|
+
}).describe("Image block-specific properties.");
|
|
70
|
+
const NotionUpdateBlock_QuoteBlockSchema = zod.z.object({
|
|
71
|
+
color: zod.z.string().describe("Color of the quote"),
|
|
72
|
+
children: zod.z.array(zod.z.record(zod.z.string(), zod.z.unknown())).describe("Array of nested block objects").nullable().optional(),
|
|
73
|
+
rich_text: zod.z.array(NotionUpdateBlock_RichTextSchema).describe("Array of rich text objects containing the quote content")
|
|
74
|
+
}).describe("Quote block-specific properties.");
|
|
75
|
+
const NotionUpdateBlock_TableBlockSchema = zod.z.object({
|
|
76
|
+
table_width: zod.z.number().int().describe("Number of columns in the table (immutable after creation)"),
|
|
77
|
+
has_row_header: zod.z.boolean().describe("Whether the table has a row header"),
|
|
78
|
+
has_column_header: zod.z.boolean().describe("Whether the table has a column header")
|
|
79
|
+
}).describe("Table block-specific properties.");
|
|
80
|
+
const NotionUpdateBlock_ToDoBlockSchema = zod.z.object({
|
|
81
|
+
color: zod.z.string().describe("Color of the to-do item"),
|
|
82
|
+
checked: zod.z.boolean().describe("Whether the to-do is checked"),
|
|
83
|
+
children: zod.z.array(zod.z.record(zod.z.string(), zod.z.unknown())).describe("Array of nested block objects").nullable().optional(),
|
|
84
|
+
rich_text: zod.z.array(NotionUpdateBlock_RichTextSchema).describe("Array of rich text objects containing the to-do content")
|
|
85
|
+
}).describe("To-do block-specific properties.");
|
|
86
|
+
const NotionUpdateBlock_VideoBlockSchema = zod.z.object({
|
|
87
|
+
file: NotionUpdateBlock_FileObjectSchema.nullable().optional(),
|
|
88
|
+
type: zod.z.string().describe("Type of video: external, file, or file_upload"),
|
|
89
|
+
caption: zod.z.array(NotionUpdateBlock_RichTextSchema).describe("Array of rich text objects for the video caption").nullable().optional(),
|
|
90
|
+
external: NotionUpdateBlock_ExternalObjectSchema.nullable().optional(),
|
|
91
|
+
file_upload: NotionUpdateBlock_FileUploadObjectSchema.nullable().optional()
|
|
92
|
+
}).describe("Video block-specific properties.");
|
|
93
|
+
const NotionUpdateBlock_ColumnBlockSchema = zod.z.object({ width_ratio: zod.z.number().describe("Width ratio of the column between 0 and 1").nullable().optional() }).describe("Column block-specific properties.");
|
|
94
|
+
const NotionUpdateBlock_ParentObjectSchema = zod.z.object({
|
|
95
|
+
type: zod.z.string().describe("The type of parent. Possible values: database_id, data_source_id, page_id, workspace, block_id"),
|
|
96
|
+
page_id: zod.z.string().describe("UUIDv4 identifier of the parent page (present when type is 'page_id')").nullable().optional(),
|
|
97
|
+
block_id: zod.z.string().describe("UUIDv4 identifier of the parent block (present when type is 'block_id')").nullable().optional(),
|
|
98
|
+
workspace: zod.z.boolean().describe("Always true when type is 'workspace', indicating a top-level page").nullable().optional(),
|
|
99
|
+
database_id: zod.z.string().describe("UUIDv4 identifier of the parent database (present when type is 'database_id')").nullable().optional(),
|
|
100
|
+
data_source_id: zod.z.string().describe("UUIDv4 identifier of the parent data source (present when type is 'data_source_id')").nullable().optional()
|
|
101
|
+
}).describe("Information about the block's parent.");
|
|
102
|
+
const NotionUpdateBlock_ToggleBlockSchema = zod.z.object({
|
|
103
|
+
color: zod.z.string().describe("Color of the toggle"),
|
|
104
|
+
children: zod.z.array(zod.z.record(zod.z.string(), zod.z.unknown())).describe("Array of nested block objects").nullable().optional(),
|
|
105
|
+
rich_text: zod.z.array(NotionUpdateBlock_RichTextSchema).describe("Array of rich text objects containing the toggle content")
|
|
106
|
+
}).describe("Toggle block-specific properties.");
|
|
107
|
+
const NotionUpdateBlock_EmojiIconSchema = zod.z.object({
|
|
108
|
+
type: zod.z.string().describe("Always 'emoji'"),
|
|
109
|
+
emoji: zod.z.string().describe("The emoji character")
|
|
110
|
+
}).describe("Emoji icon object.");
|
|
111
|
+
const NotionUpdateBlock_CustomEmojiDetailsSchema = zod.z.object({
|
|
112
|
+
id: zod.z.string().describe("UUID identifier of the custom emoji"),
|
|
113
|
+
url: zod.z.string().describe("S3 hosted image URL for the custom emoji"),
|
|
114
|
+
name: zod.z.string().describe("Name of the custom emoji")
|
|
115
|
+
}).describe("Custom emoji details.");
|
|
116
|
+
const NotionUpdateBlock_CustomEmojiIconSchema = zod.z.object({
|
|
117
|
+
type: zod.z.string().describe("Always 'custom_emoji'"),
|
|
118
|
+
custom_emoji: NotionUpdateBlock_CustomEmojiDetailsSchema.nullable()
|
|
119
|
+
}).describe("Custom emoji icon object.");
|
|
120
|
+
const NotionUpdateBlock_ExternalFileIconSchema = zod.z.object({
|
|
121
|
+
type: zod.z.string().describe("Always 'external'"),
|
|
122
|
+
external: NotionUpdateBlock_ExternalObjectSchema.nullable()
|
|
123
|
+
}).describe("External file icon object.");
|
|
124
|
+
const NotionUpdateBlock_NotionFileIconSchema = zod.z.object({
|
|
125
|
+
file: NotionUpdateBlock_FileObjectSchema.nullable(),
|
|
126
|
+
type: zod.z.string().describe("Always 'file'")
|
|
127
|
+
}).describe("Notion-hosted file icon object.");
|
|
128
|
+
const NotionUpdateBlock_UploadedFileIconSchema = zod.z.object({
|
|
129
|
+
type: zod.z.string().describe("Always 'file_upload'"),
|
|
130
|
+
file_upload: NotionUpdateBlock_FileUploadObjectSchema.nullable()
|
|
131
|
+
}).describe("API-uploaded file icon object.");
|
|
132
|
+
const NotionUpdateBlock_CalloutBlockSchema = zod.z.object({
|
|
133
|
+
icon: zod.z.union([
|
|
134
|
+
NotionUpdateBlock_EmojiIconSchema,
|
|
135
|
+
NotionUpdateBlock_CustomEmojiIconSchema,
|
|
136
|
+
NotionUpdateBlock_ExternalFileIconSchema,
|
|
137
|
+
NotionUpdateBlock_NotionFileIconSchema,
|
|
138
|
+
NotionUpdateBlock_UploadedFileIconSchema
|
|
139
|
+
]).nullable().optional(),
|
|
140
|
+
color: zod.z.string().describe("Color of the callout"),
|
|
141
|
+
rich_text: zod.z.array(NotionUpdateBlock_RichTextSchema).describe("Array of rich text objects containing the callout content")
|
|
142
|
+
}).describe("Callout block-specific properties.");
|
|
143
|
+
const NotionUpdateBlock_DividerBlockSchema = zod.z.object({}).describe("Divider block-specific properties (empty object).");
|
|
144
|
+
const NotionUpdateBlock_BookmarkBlockSchema = zod.z.object({
|
|
145
|
+
url: zod.z.string().describe("URL of the bookmarked page"),
|
|
146
|
+
caption: zod.z.array(NotionUpdateBlock_RichTextSchema).describe("Array of rich text objects for the bookmark caption").nullable().optional()
|
|
147
|
+
}).describe("Bookmark block-specific properties.");
|
|
148
|
+
const NotionUpdateBlock_EquationBlockSchema = zod.z.object({ expression: zod.z.string().describe("LaTeX formula string for the equation") }).describe("Equation block-specific properties.");
|
|
149
|
+
const NotionUpdateBlock_TemplateBlockSchema = zod.z.object({
|
|
150
|
+
children: zod.z.array(zod.z.record(zod.z.string(), zod.z.unknown())).describe("Array of nested block objects that define the template content").nullable().optional(),
|
|
151
|
+
rich_text: zod.z.array(NotionUpdateBlock_RichTextSchema).describe("Array of rich text objects containing the template button text")
|
|
152
|
+
}).describe("Template block-specific properties.");
|
|
153
|
+
const NotionUpdateBlock_HeadingBlockSchema = zod.z.object({
|
|
154
|
+
color: zod.z.string().describe("Color of the heading"),
|
|
155
|
+
rich_text: zod.z.array(NotionUpdateBlock_RichTextSchema).describe("Array of rich text objects containing the heading content"),
|
|
156
|
+
is_toggleable: zod.z.boolean().describe("Whether the heading can be toggled to show/hide content")
|
|
157
|
+
}).describe("Heading block-specific properties (heading_1, heading_2, heading_3).");
|
|
158
|
+
const NotionUpdateBlock_ParagraphBlockSchema = zod.z.object({
|
|
159
|
+
color: zod.z.string().describe("Color of the block"),
|
|
160
|
+
children: zod.z.array(zod.z.record(zod.z.string(), zod.z.unknown())).describe("Array of nested block objects").nullable().optional(),
|
|
161
|
+
rich_text: zod.z.array(NotionUpdateBlock_RichTextSchema).describe("Array of rich text objects containing the paragraph content")
|
|
162
|
+
}).describe("Paragraph block-specific properties.");
|
|
163
|
+
const NotionUpdateBlock_TableRowBlockSchema = zod.z.object({ cells: zod.z.array(zod.z.array(NotionUpdateBlock_RichTextSchema)).describe("Array of arrays, where each inner array contains rich text objects representing a cell's content") }).describe("Table row block-specific properties.");
|
|
164
|
+
const NotionUpdateBlock_BreadcrumbBlockSchema = zod.z.object({}).describe("Breadcrumb block-specific properties (empty object).");
|
|
165
|
+
const NotionUpdateBlock_ChildPageBlockSchema = zod.z.object({ title: zod.z.string().describe("Title of the child page") }).describe("Child page block-specific properties.");
|
|
166
|
+
const NotionUpdateBlock_PartialUserSchema = zod.z.object({
|
|
167
|
+
id: zod.z.string().describe("UUIDv4 identifier of the user"),
|
|
168
|
+
object: zod.z.string().describe("Always 'user'")
|
|
169
|
+
}).describe("Partial user object representing a Notion user.");
|
|
170
|
+
const NotionUpdateBlock_ColumnListBlockSchema = zod.z.object({}).describe("Column list block-specific properties (empty object).");
|
|
171
|
+
const NotionUpdateBlock_LinkPreviewBlockSchema = zod.z.object({ url: zod.z.string().describe("URL of the link preview") }).describe("Link preview block-specific properties.");
|
|
172
|
+
const NotionUpdateBlock_LinkToPageBlockSchema = zod.z.object({
|
|
173
|
+
type: zod.z.string().describe("Type of linked page: page_id, database_id, or comment_id"),
|
|
174
|
+
page_id: zod.z.string().describe("UUIDv4 identifier of the linked page").nullable().optional(),
|
|
175
|
+
comment_id: zod.z.string().describe("UUIDv4 identifier of the linked comment").nullable().optional(),
|
|
176
|
+
database_id: zod.z.string().describe("UUIDv4 identifier of the linked database").nullable().optional()
|
|
177
|
+
}).describe("Link to page block-specific properties.");
|
|
178
|
+
const NotionUpdateBlock_SyncedFromBlockSchema = zod.z.object({ block_id: zod.z.string().describe("UUIDv4 identifier of the original synced block") }).describe("Reference to the original synced block.");
|
|
179
|
+
const NotionUpdateBlock_SyncedBlockSchema = zod.z.object({
|
|
180
|
+
children: zod.z.array(zod.z.record(zod.z.string(), zod.z.unknown())).describe("Array of nested block objects").nullable().optional(),
|
|
181
|
+
synced_from: NotionUpdateBlock_SyncedFromBlockSchema.nullable().optional()
|
|
182
|
+
}).describe("Synced block-specific properties.");
|
|
183
|
+
const NotionUpdateBlock_ChildDatabaseBlockSchema = zod.z.object({ title: zod.z.string().describe("Title of the child database") }).describe("Child database block-specific properties.");
|
|
184
|
+
const NotionUpdateBlock_TableOfContentsBlockSchema = zod.z.object({ color: zod.z.string().describe("Color of the table of contents").nullable().optional() }).describe("Table of contents block-specific properties.");
|
|
185
|
+
const NotionUpdateBlock_BulletedListItemBlockSchema = zod.z.object({
|
|
186
|
+
color: zod.z.string().describe("Color of the list item"),
|
|
187
|
+
children: zod.z.array(zod.z.record(zod.z.string(), zod.z.unknown())).describe("Array of nested block objects").nullable().optional(),
|
|
188
|
+
rich_text: zod.z.array(NotionUpdateBlock_RichTextSchema).describe("Array of rich text objects containing the list item content")
|
|
189
|
+
}).describe("Bulleted list item block-specific properties.");
|
|
190
|
+
const NotionUpdateBlock_NumberedListItemBlockSchema = zod.z.object({
|
|
191
|
+
color: zod.z.string().describe("Color of the list item"),
|
|
192
|
+
children: zod.z.array(zod.z.record(zod.z.string(), zod.z.unknown())).describe("Array of nested block objects").nullable().optional(),
|
|
193
|
+
rich_text: zod.z.array(NotionUpdateBlock_RichTextSchema).describe("Array of rich text objects containing the list item content")
|
|
194
|
+
}).describe("Numbered list item block-specific properties.");
|
|
195
|
+
const NotionUpdateBlockOutput = zod.z.object({
|
|
196
|
+
id: zod.z.string().describe("Unique identifier of the block in UUIDv4 format"),
|
|
197
|
+
pdf: NotionUpdateBlock_PdfBlockSchema.nullable().optional(),
|
|
198
|
+
code: NotionUpdateBlock_CodeBlockSchema.nullable().optional(),
|
|
199
|
+
file: NotionUpdateBlock_FileBlockSchema.nullable().optional(),
|
|
200
|
+
type: zod.z.string().describe("The type of block. Possible values include: paragraph, heading_1, heading_2, heading_3, bulleted_list_item, numbered_list_item, to_do, toggle, code, quote, callout, divider, breadcrumb, table_of_contents, column_list, column, link_to_page, synced_block, template, link_preview, table, table_row, embed, bookmark, image, video, pdf, file, audio, child_page, child_database, equation, and others"),
|
|
201
|
+
audio: NotionUpdateBlock_AudioBlockSchema.nullable().optional(),
|
|
202
|
+
embed: NotionUpdateBlock_EmbedBlockSchema.nullable().optional(),
|
|
203
|
+
image: NotionUpdateBlock_ImageBlockSchema.nullable().optional(),
|
|
204
|
+
quote: NotionUpdateBlock_QuoteBlockSchema.nullable().optional(),
|
|
205
|
+
table: NotionUpdateBlock_TableBlockSchema.nullable().optional(),
|
|
206
|
+
to_do: NotionUpdateBlock_ToDoBlockSchema.nullable().optional(),
|
|
207
|
+
video: NotionUpdateBlock_VideoBlockSchema.nullable().optional(),
|
|
208
|
+
column: NotionUpdateBlock_ColumnBlockSchema.nullable().optional(),
|
|
209
|
+
object: zod.z.string().describe("Always 'block'"),
|
|
210
|
+
parent: NotionUpdateBlock_ParentObjectSchema.nullable(),
|
|
211
|
+
toggle: NotionUpdateBlock_ToggleBlockSchema.nullable().optional(),
|
|
212
|
+
callout: NotionUpdateBlock_CalloutBlockSchema.nullable().optional(),
|
|
213
|
+
divider: NotionUpdateBlock_DividerBlockSchema.nullable().optional(),
|
|
214
|
+
archived: zod.z.boolean().describe("Whether the block has been archived (deleted)").nullable().optional(),
|
|
215
|
+
bookmark: NotionUpdateBlock_BookmarkBlockSchema.nullable().optional(),
|
|
216
|
+
equation: NotionUpdateBlock_EquationBlockSchema.nullable().optional(),
|
|
217
|
+
in_trash: zod.z.boolean().describe("Whether the block is in the trash").nullable().optional(),
|
|
218
|
+
template: NotionUpdateBlock_TemplateBlockSchema.nullable().optional(),
|
|
219
|
+
heading_1: NotionUpdateBlock_HeadingBlockSchema.nullable().optional(),
|
|
220
|
+
heading_2: NotionUpdateBlock_HeadingBlockSchema.nullable().optional(),
|
|
221
|
+
heading_3: NotionUpdateBlock_HeadingBlockSchema.nullable().optional(),
|
|
222
|
+
paragraph: NotionUpdateBlock_ParagraphBlockSchema.nullable().optional(),
|
|
223
|
+
table_row: NotionUpdateBlock_TableRowBlockSchema.nullable().optional(),
|
|
224
|
+
breadcrumb: NotionUpdateBlock_BreadcrumbBlockSchema.nullable().optional(),
|
|
225
|
+
child_page: NotionUpdateBlock_ChildPageBlockSchema.nullable().optional(),
|
|
226
|
+
created_by: NotionUpdateBlock_PartialUserSchema.nullable().optional(),
|
|
227
|
+
column_list: NotionUpdateBlock_ColumnListBlockSchema.nullable().optional(),
|
|
228
|
+
created_time: zod.z.string().describe("ISO 8601 datetime string indicating when the block was created").nullable().optional(),
|
|
229
|
+
has_children: zod.z.boolean().describe("Whether the block has child blocks nested within it").nullable().optional(),
|
|
230
|
+
link_preview: NotionUpdateBlock_LinkPreviewBlockSchema.nullable().optional(),
|
|
231
|
+
link_to_page: NotionUpdateBlock_LinkToPageBlockSchema.nullable().optional(),
|
|
232
|
+
synced_block: NotionUpdateBlock_SyncedBlockSchema.nullable().optional(),
|
|
233
|
+
child_database: NotionUpdateBlock_ChildDatabaseBlockSchema.nullable().optional(),
|
|
234
|
+
last_edited_by: NotionUpdateBlock_PartialUserSchema.nullable().optional(),
|
|
235
|
+
last_edited_time: zod.z.string().describe("ISO 8601 datetime string indicating when the block was last edited").nullable().optional(),
|
|
236
|
+
table_of_contents: NotionUpdateBlock_TableOfContentsBlockSchema.nullable().optional(),
|
|
237
|
+
bulleted_list_item: NotionUpdateBlock_BulletedListItemBlockSchema.nullable().optional(),
|
|
238
|
+
numbered_list_item: NotionUpdateBlock_NumberedListItemBlockSchema.nullable().optional()
|
|
239
|
+
}).describe("Complete Block object returned by PATCH /v1/blocks/{block_id}.\n\nThe Update a Block endpoint returns a complete Block object with updated content.\nThe response structure matches the Block object schema.");
|
|
240
|
+
const notionUpdateBlock = require_action.action("NOTION_UPDATE_BLOCK", {
|
|
241
|
+
slug: "notion-update-block",
|
|
242
|
+
name: "Update block",
|
|
243
|
+
description: "Updates existing Notion block's text content. ⚠️ CRITICAL: Content limited to 2000 chars. Cannot change block type or archive blocks. Content exceeding 2000 chars will fail with validation error. For longer content, split across multiple blocks using add_multiple_page_content.",
|
|
244
|
+
input: NotionUpdateBlockInput,
|
|
245
|
+
output: NotionUpdateBlockOutput
|
|
246
|
+
});
|
|
247
|
+
//#endregion
|
|
248
|
+
exports.notionUpdateBlock = notionUpdateBlock;
|
|
249
|
+
|
|
250
|
+
//# sourceMappingURL=update-block.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update-block.cjs","names":["z","action"],"sources":["../../src/actions/update-block.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NotionUpdateBlockInput: z.ZodTypeAny = z.object({\n content: z.string().describe(\"The new text content for the block. Replaces existing text content entirely. ⚠️ CRITICAL: Notion API enforces a HARD LIMIT of 2000 characters per text.content field. Content exceeding 2000 chars will cause a validation error. For longer content, split across multiple blocks using append_block_children or add_multiple_page_content.\"),\n block_id: z.string().describe(\"Identifier of the Notion block to be updated. Must be a valid UUID (with or without dashes). To find a block's ID, other Notion actions that list or retrieve blocks can be used. For updating content within a page (which is also a block), its ID can be obtained using actions like `NOTION_FETCH_DATA` to get page IDs and titles.\"),\n language: z.string().describe(\"Programming language for code blocks. Required when block_type='code'. Supported values include: 'abap', 'arduino', 'bash', 'basic', 'c', 'clojure', 'coffeescript', 'c++', 'c#', 'css', 'dart', 'diff', 'docker', 'elixir', 'elm', 'erlang', 'flow', 'fortran', 'f#', 'gherkin', 'glsl', 'go', 'graphql', 'groovy', 'haskell', 'html', 'java', 'javascript', 'json', 'julia', 'kotlin', 'latex', 'less', 'lisp', 'livescript', 'lua', 'makefile', 'markdown', 'markup', 'matlab', 'mermaid', 'nix', 'objective-c', 'ocaml', 'pascal', 'perl', 'php', 'plain text', 'powershell', 'prolog', 'protobuf', 'python', 'r', 'reason', 'ruby', 'rust', 'sass', 'scala', 'scheme', 'scss', 'shell', 'sql', 'swift', 'typescript', 'vb.net', 'verilog', 'vhdl', 'visual basic', 'webassembly', 'xml', 'yaml', 'java/c/c++/c#'. If not provided for a code block, the existing language will be preserved.\").optional(),\n block_type: z.string().describe(\"The type of the block being updated. If not provided, the action will automatically detect the block type by fetching the block first (adds 1 extra API call). If provided, it must match the EXISTING block's type - you cannot change a block's type. Supported types: 'paragraph', 'heading_1', 'heading_2', 'heading_3', 'bulleted_list_item', 'numbered_list_item', 'to_do', 'toggle', 'code', 'quote', 'callout'.\").optional(),\n additional_properties: z.record(z.string(), z.unknown()).describe(\"Optional dictionary of type-specific properties. Common examples: 'checked' (boolean) for to_do blocks to mark complete/incomplete, 'color' (string like 'blue_background', 'gray', 'red') for text styling, 'is_toggleable' (boolean) for heading blocks to make them collapsible, 'icon' (object with 'type' and 'emoji' fields) for callout blocks. NOTE: Cannot use 'archived' here - use NOTION_DELETE_BLOCK to remove blocks instead. NOTE: Null/None values are automatically filtered out (omitting a property preserves its existing value).\").optional(),\n}).describe(\"Input parameters for updating a Notion block.\");\nconst NotionUpdateBlock_FileObjectSchema: z.ZodTypeAny = z.object({\n url: z.string().describe(\"Temporary authenticated URL valid for one hour\"),\n expiry_time: z.string().describe(\"ISO 8601 datetime when the URL expires\"),\n}).describe(\"Notion-hosted file object.\");\nconst NotionUpdateBlock_TextContentSchema: z.ZodTypeAny = z.object({\n link: z.object({}).describe(\"Link information with url key, or null\").nullable().optional(),\n content: z.string().describe(\"The actual text content\"),\n}).describe(\"Text content object within rich text.\");\nconst NotionUpdateBlock_AnnotationsSchema: z.ZodTypeAny = z.object({\n bold: z.boolean().describe(\"Whether the text is bold\"),\n code: z.boolean().describe(\"Whether the text is formatted as code\"),\n color: z.string().describe(\"Text color: default, blue, green, red, gray, brown, orange, yellow, pink, purple, or with _background suffix for background colors\"),\n italic: z.boolean().describe(\"Whether the text is italic\"),\n underline: z.boolean().describe(\"Whether the text is underlined\"),\n strikethrough: z.boolean().describe(\"Whether the text has strikethrough\"),\n}).describe(\"Styling information for rich text.\");\nconst NotionUpdateBlock_RichTextSchema: z.ZodTypeAny = z.object({\n href: z.string().describe(\"URL for links or Notion mentions, or null\").nullable().optional(),\n text: NotionUpdateBlock_TextContentSchema.nullable().optional(),\n type: z.string().describe(\"Type of rich text: text, mention, or equation\"),\n plain_text: z.string().describe(\"Plain text representation without formatting\"),\n annotations: NotionUpdateBlock_AnnotationsSchema.nullable(),\n}).describe(\"Rich text object containing formatted text content.\");\nconst NotionUpdateBlock_ExternalObjectSchema: z.ZodTypeAny = z.object({\n url: z.string().describe(\"URL of the externally hosted resource\"),\n}).describe(\"External file/media URL object.\");\nconst NotionUpdateBlock_FileUploadObjectSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"UUIDv4 identifier referencing the uploaded file\"),\n}).describe(\"API-uploaded file reference.\");\nconst NotionUpdateBlock_PdfBlockSchema: z.ZodTypeAny = z.object({\n file: NotionUpdateBlock_FileObjectSchema.nullable().optional(),\n type: z.string().describe(\"Type of PDF: external, file, or file_upload\"),\n caption: z.array(NotionUpdateBlock_RichTextSchema).describe(\"Array of rich text objects for the PDF caption\").nullable().optional(),\n external: NotionUpdateBlock_ExternalObjectSchema.nullable().optional(),\n file_upload: NotionUpdateBlock_FileUploadObjectSchema.nullable().optional(),\n}).describe(\"PDF block-specific properties.\");\nconst NotionUpdateBlock_CodeBlockSchema: z.ZodTypeAny = z.object({\n caption: z.array(NotionUpdateBlock_RichTextSchema).describe(\"Array of rich text objects for the code caption\").nullable().optional(),\n language: z.string().describe(\"Programming language for syntax highlighting\"),\n rich_text: z.array(NotionUpdateBlock_RichTextSchema).describe(\"Array of rich text objects containing the code content\"),\n}).describe(\"Code block-specific properties.\");\nconst NotionUpdateBlock_FileBlockSchema: z.ZodTypeAny = z.object({\n file: NotionUpdateBlock_FileObjectSchema.nullable().optional(),\n type: z.string().describe(\"Type of file: external, file, or file_upload\"),\n caption: z.array(NotionUpdateBlock_RichTextSchema).describe(\"Array of rich text objects for the file caption\").nullable().optional(),\n external: NotionUpdateBlock_ExternalObjectSchema.nullable().optional(),\n file_upload: NotionUpdateBlock_FileUploadObjectSchema.nullable().optional(),\n}).describe(\"File block-specific properties.\");\nconst NotionUpdateBlock_AudioBlockSchema: z.ZodTypeAny = z.object({\n file: NotionUpdateBlock_FileObjectSchema.nullable().optional(),\n type: z.string().describe(\"Type of audio: external, file, or file_upload\"),\n caption: z.array(NotionUpdateBlock_RichTextSchema).describe(\"Array of rich text objects for the audio caption\").nullable().optional(),\n external: NotionUpdateBlock_ExternalObjectSchema.nullable().optional(),\n file_upload: NotionUpdateBlock_FileUploadObjectSchema.nullable().optional(),\n}).describe(\"Audio block-specific properties.\");\nconst NotionUpdateBlock_EmbedBlockSchema: z.ZodTypeAny = z.object({\n url: z.string().describe(\"URL of the embedded content\"),\n}).describe(\"Embed block-specific properties.\");\nconst NotionUpdateBlock_ImageBlockSchema: z.ZodTypeAny = z.object({\n file: NotionUpdateBlock_FileObjectSchema.nullable().optional(),\n type: z.string().describe(\"Type of image: external, file, or file_upload\"),\n caption: z.array(NotionUpdateBlock_RichTextSchema).describe(\"Array of rich text objects for the image caption\").nullable().optional(),\n external: NotionUpdateBlock_ExternalObjectSchema.nullable().optional(),\n file_upload: NotionUpdateBlock_FileUploadObjectSchema.nullable().optional(),\n}).describe(\"Image block-specific properties.\");\nconst NotionUpdateBlock_QuoteBlockSchema: z.ZodTypeAny = z.object({\n color: z.string().describe(\"Color of the quote\"),\n children: z.array(z.record(z.string(), z.unknown())).describe(\"Array of nested block objects\").nullable().optional(),\n rich_text: z.array(NotionUpdateBlock_RichTextSchema).describe(\"Array of rich text objects containing the quote content\"),\n}).describe(\"Quote block-specific properties.\");\nconst NotionUpdateBlock_TableBlockSchema: z.ZodTypeAny = z.object({\n table_width: z.number().int().describe(\"Number of columns in the table (immutable after creation)\"),\n has_row_header: z.boolean().describe(\"Whether the table has a row header\"),\n has_column_header: z.boolean().describe(\"Whether the table has a column header\"),\n}).describe(\"Table block-specific properties.\");\nconst NotionUpdateBlock_ToDoBlockSchema: z.ZodTypeAny = z.object({\n color: z.string().describe(\"Color of the to-do item\"),\n checked: z.boolean().describe(\"Whether the to-do is checked\"),\n children: z.array(z.record(z.string(), z.unknown())).describe(\"Array of nested block objects\").nullable().optional(),\n rich_text: z.array(NotionUpdateBlock_RichTextSchema).describe(\"Array of rich text objects containing the to-do content\"),\n}).describe(\"To-do block-specific properties.\");\nconst NotionUpdateBlock_VideoBlockSchema: z.ZodTypeAny = z.object({\n file: NotionUpdateBlock_FileObjectSchema.nullable().optional(),\n type: z.string().describe(\"Type of video: external, file, or file_upload\"),\n caption: z.array(NotionUpdateBlock_RichTextSchema).describe(\"Array of rich text objects for the video caption\").nullable().optional(),\n external: NotionUpdateBlock_ExternalObjectSchema.nullable().optional(),\n file_upload: NotionUpdateBlock_FileUploadObjectSchema.nullable().optional(),\n}).describe(\"Video block-specific properties.\");\nconst NotionUpdateBlock_ColumnBlockSchema: z.ZodTypeAny = z.object({\n width_ratio: z.number().describe(\"Width ratio of the column between 0 and 1\").nullable().optional(),\n}).describe(\"Column block-specific properties.\");\nconst NotionUpdateBlock_ParentObjectSchema: z.ZodTypeAny = z.object({\n type: z.string().describe(\"The type of parent. Possible values: database_id, data_source_id, page_id, workspace, block_id\"),\n page_id: z.string().describe(\"UUIDv4 identifier of the parent page (present when type is 'page_id')\").nullable().optional(),\n block_id: z.string().describe(\"UUIDv4 identifier of the parent block (present when type is 'block_id')\").nullable().optional(),\n workspace: z.boolean().describe(\"Always true when type is 'workspace', indicating a top-level page\").nullable().optional(),\n database_id: z.string().describe(\"UUIDv4 identifier of the parent database (present when type is 'database_id')\").nullable().optional(),\n data_source_id: z.string().describe(\"UUIDv4 identifier of the parent data source (present when type is 'data_source_id')\").nullable().optional(),\n}).describe(\"Information about the block's parent.\");\nconst NotionUpdateBlock_ToggleBlockSchema: z.ZodTypeAny = z.object({\n color: z.string().describe(\"Color of the toggle\"),\n children: z.array(z.record(z.string(), z.unknown())).describe(\"Array of nested block objects\").nullable().optional(),\n rich_text: z.array(NotionUpdateBlock_RichTextSchema).describe(\"Array of rich text objects containing the toggle content\"),\n}).describe(\"Toggle block-specific properties.\");\nconst NotionUpdateBlock_EmojiIconSchema: z.ZodTypeAny = z.object({\n type: z.string().describe(\"Always 'emoji'\"),\n emoji: z.string().describe(\"The emoji character\"),\n}).describe(\"Emoji icon object.\");\nconst NotionUpdateBlock_CustomEmojiDetailsSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"UUID identifier of the custom emoji\"),\n url: z.string().describe(\"S3 hosted image URL for the custom emoji\"),\n name: z.string().describe(\"Name of the custom emoji\"),\n}).describe(\"Custom emoji details.\");\nconst NotionUpdateBlock_CustomEmojiIconSchema: z.ZodTypeAny = z.object({\n type: z.string().describe(\"Always 'custom_emoji'\"),\n custom_emoji: NotionUpdateBlock_CustomEmojiDetailsSchema.nullable(),\n}).describe(\"Custom emoji icon object.\");\nconst NotionUpdateBlock_ExternalFileIconSchema: z.ZodTypeAny = z.object({\n type: z.string().describe(\"Always 'external'\"),\n external: NotionUpdateBlock_ExternalObjectSchema.nullable(),\n}).describe(\"External file icon object.\");\nconst NotionUpdateBlock_NotionFileIconSchema: z.ZodTypeAny = z.object({\n file: NotionUpdateBlock_FileObjectSchema.nullable(),\n type: z.string().describe(\"Always 'file'\"),\n}).describe(\"Notion-hosted file icon object.\");\nconst NotionUpdateBlock_UploadedFileIconSchema: z.ZodTypeAny = z.object({\n type: z.string().describe(\"Always 'file_upload'\"),\n file_upload: NotionUpdateBlock_FileUploadObjectSchema.nullable(),\n}).describe(\"API-uploaded file icon object.\");\nconst NotionUpdateBlock_CalloutBlockSchema: z.ZodTypeAny = z.object({\n icon: z.union([NotionUpdateBlock_EmojiIconSchema, NotionUpdateBlock_CustomEmojiIconSchema, NotionUpdateBlock_ExternalFileIconSchema, NotionUpdateBlock_NotionFileIconSchema, NotionUpdateBlock_UploadedFileIconSchema]).nullable().optional(),\n color: z.string().describe(\"Color of the callout\"),\n rich_text: z.array(NotionUpdateBlock_RichTextSchema).describe(\"Array of rich text objects containing the callout content\"),\n}).describe(\"Callout block-specific properties.\");\nconst NotionUpdateBlock_DividerBlockSchema: z.ZodTypeAny = z.object({}).describe(\"Divider block-specific properties (empty object).\");\nconst NotionUpdateBlock_BookmarkBlockSchema: z.ZodTypeAny = z.object({\n url: z.string().describe(\"URL of the bookmarked page\"),\n caption: z.array(NotionUpdateBlock_RichTextSchema).describe(\"Array of rich text objects for the bookmark caption\").nullable().optional(),\n}).describe(\"Bookmark block-specific properties.\");\nconst NotionUpdateBlock_EquationBlockSchema: z.ZodTypeAny = z.object({\n expression: z.string().describe(\"LaTeX formula string for the equation\"),\n}).describe(\"Equation block-specific properties.\");\nconst NotionUpdateBlock_TemplateBlockSchema: z.ZodTypeAny = z.object({\n children: z.array(z.record(z.string(), z.unknown())).describe(\"Array of nested block objects that define the template content\").nullable().optional(),\n rich_text: z.array(NotionUpdateBlock_RichTextSchema).describe(\"Array of rich text objects containing the template button text\"),\n}).describe(\"Template block-specific properties.\");\nconst NotionUpdateBlock_HeadingBlockSchema: z.ZodTypeAny = z.object({\n color: z.string().describe(\"Color of the heading\"),\n rich_text: z.array(NotionUpdateBlock_RichTextSchema).describe(\"Array of rich text objects containing the heading content\"),\n is_toggleable: z.boolean().describe(\"Whether the heading can be toggled to show/hide content\"),\n}).describe(\"Heading block-specific properties (heading_1, heading_2, heading_3).\");\nconst NotionUpdateBlock_ParagraphBlockSchema: z.ZodTypeAny = z.object({\n color: z.string().describe(\"Color of the block\"),\n children: z.array(z.record(z.string(), z.unknown())).describe(\"Array of nested block objects\").nullable().optional(),\n rich_text: z.array(NotionUpdateBlock_RichTextSchema).describe(\"Array of rich text objects containing the paragraph content\"),\n}).describe(\"Paragraph block-specific properties.\");\nconst NotionUpdateBlock_TableRowBlockSchema: z.ZodTypeAny = z.object({\n cells: z.array(z.array(NotionUpdateBlock_RichTextSchema)).describe(\"Array of arrays, where each inner array contains rich text objects representing a cell's content\"),\n}).describe(\"Table row block-specific properties.\");\nconst NotionUpdateBlock_BreadcrumbBlockSchema: z.ZodTypeAny = z.object({}).describe(\"Breadcrumb block-specific properties (empty object).\");\nconst NotionUpdateBlock_ChildPageBlockSchema: z.ZodTypeAny = z.object({\n title: z.string().describe(\"Title of the child page\"),\n}).describe(\"Child page block-specific properties.\");\nconst NotionUpdateBlock_PartialUserSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"UUIDv4 identifier of the user\"),\n object: z.string().describe(\"Always 'user'\"),\n}).describe(\"Partial user object representing a Notion user.\");\nconst NotionUpdateBlock_ColumnListBlockSchema: z.ZodTypeAny = z.object({}).describe(\"Column list block-specific properties (empty object).\");\nconst NotionUpdateBlock_LinkPreviewBlockSchema: z.ZodTypeAny = z.object({\n url: z.string().describe(\"URL of the link preview\"),\n}).describe(\"Link preview block-specific properties.\");\nconst NotionUpdateBlock_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(\"UUIDv4 identifier of the linked page\").nullable().optional(),\n comment_id: z.string().describe(\"UUIDv4 identifier of the linked comment\").nullable().optional(),\n database_id: z.string().describe(\"UUIDv4 identifier of the linked database\").nullable().optional(),\n}).describe(\"Link to page block-specific properties.\");\nconst NotionUpdateBlock_SyncedFromBlockSchema: z.ZodTypeAny = z.object({\n block_id: z.string().describe(\"UUIDv4 identifier of the original synced block\"),\n}).describe(\"Reference to the original synced block.\");\nconst NotionUpdateBlock_SyncedBlockSchema: z.ZodTypeAny = z.object({\n children: z.array(z.record(z.string(), z.unknown())).describe(\"Array of nested block objects\").nullable().optional(),\n synced_from: NotionUpdateBlock_SyncedFromBlockSchema.nullable().optional(),\n}).describe(\"Synced block-specific properties.\");\nconst NotionUpdateBlock_ChildDatabaseBlockSchema: z.ZodTypeAny = z.object({\n title: z.string().describe(\"Title of the child database\"),\n}).describe(\"Child database block-specific properties.\");\nconst NotionUpdateBlock_TableOfContentsBlockSchema: z.ZodTypeAny = z.object({\n color: z.string().describe(\"Color of the table of contents\").nullable().optional(),\n}).describe(\"Table of contents block-specific properties.\");\nconst NotionUpdateBlock_BulletedListItemBlockSchema: z.ZodTypeAny = z.object({\n color: z.string().describe(\"Color of the list item\"),\n children: z.array(z.record(z.string(), z.unknown())).describe(\"Array of nested block objects\").nullable().optional(),\n rich_text: z.array(NotionUpdateBlock_RichTextSchema).describe(\"Array of rich text objects containing the list item content\"),\n}).describe(\"Bulleted list item block-specific properties.\");\nconst NotionUpdateBlock_NumberedListItemBlockSchema: z.ZodTypeAny = z.object({\n color: z.string().describe(\"Color of the list item\"),\n children: z.array(z.record(z.string(), z.unknown())).describe(\"Array of nested block objects\").nullable().optional(),\n rich_text: z.array(NotionUpdateBlock_RichTextSchema).describe(\"Array of rich text objects containing the list item content\"),\n}).describe(\"Numbered list item block-specific properties.\");\nexport const NotionUpdateBlockOutput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier of the block in UUIDv4 format\"),\n pdf: NotionUpdateBlock_PdfBlockSchema.nullable().optional(),\n code: NotionUpdateBlock_CodeBlockSchema.nullable().optional(),\n file: NotionUpdateBlock_FileBlockSchema.nullable().optional(),\n type: z.string().describe(\"The type of block. Possible values include: paragraph, heading_1, heading_2, heading_3, bulleted_list_item, numbered_list_item, to_do, toggle, code, quote, callout, divider, breadcrumb, table_of_contents, column_list, column, link_to_page, synced_block, template, link_preview, table, table_row, embed, bookmark, image, video, pdf, file, audio, child_page, child_database, equation, and others\"),\n audio: NotionUpdateBlock_AudioBlockSchema.nullable().optional(),\n embed: NotionUpdateBlock_EmbedBlockSchema.nullable().optional(),\n image: NotionUpdateBlock_ImageBlockSchema.nullable().optional(),\n quote: NotionUpdateBlock_QuoteBlockSchema.nullable().optional(),\n table: NotionUpdateBlock_TableBlockSchema.nullable().optional(),\n to_do: NotionUpdateBlock_ToDoBlockSchema.nullable().optional(),\n video: NotionUpdateBlock_VideoBlockSchema.nullable().optional(),\n column: NotionUpdateBlock_ColumnBlockSchema.nullable().optional(),\n object: z.string().describe(\"Always 'block'\"),\n parent: NotionUpdateBlock_ParentObjectSchema.nullable(),\n toggle: NotionUpdateBlock_ToggleBlockSchema.nullable().optional(),\n callout: NotionUpdateBlock_CalloutBlockSchema.nullable().optional(),\n divider: NotionUpdateBlock_DividerBlockSchema.nullable().optional(),\n archived: z.boolean().describe(\"Whether the block has been archived (deleted)\").nullable().optional(),\n bookmark: NotionUpdateBlock_BookmarkBlockSchema.nullable().optional(),\n equation: NotionUpdateBlock_EquationBlockSchema.nullable().optional(),\n in_trash: z.boolean().describe(\"Whether the block is in the trash\").nullable().optional(),\n template: NotionUpdateBlock_TemplateBlockSchema.nullable().optional(),\n heading_1: NotionUpdateBlock_HeadingBlockSchema.nullable().optional(),\n heading_2: NotionUpdateBlock_HeadingBlockSchema.nullable().optional(),\n heading_3: NotionUpdateBlock_HeadingBlockSchema.nullable().optional(),\n paragraph: NotionUpdateBlock_ParagraphBlockSchema.nullable().optional(),\n table_row: NotionUpdateBlock_TableRowBlockSchema.nullable().optional(),\n breadcrumb: NotionUpdateBlock_BreadcrumbBlockSchema.nullable().optional(),\n child_page: NotionUpdateBlock_ChildPageBlockSchema.nullable().optional(),\n created_by: NotionUpdateBlock_PartialUserSchema.nullable().optional(),\n column_list: NotionUpdateBlock_ColumnListBlockSchema.nullable().optional(),\n created_time: z.string().describe(\"ISO 8601 datetime string indicating when the block was created\").nullable().optional(),\n has_children: z.boolean().describe(\"Whether the block has child blocks nested within it\").nullable().optional(),\n link_preview: NotionUpdateBlock_LinkPreviewBlockSchema.nullable().optional(),\n link_to_page: NotionUpdateBlock_LinkToPageBlockSchema.nullable().optional(),\n synced_block: NotionUpdateBlock_SyncedBlockSchema.nullable().optional(),\n child_database: NotionUpdateBlock_ChildDatabaseBlockSchema.nullable().optional(),\n last_edited_by: NotionUpdateBlock_PartialUserSchema.nullable().optional(),\n last_edited_time: z.string().describe(\"ISO 8601 datetime string indicating when the block was last edited\").nullable().optional(),\n table_of_contents: NotionUpdateBlock_TableOfContentsBlockSchema.nullable().optional(),\n bulleted_list_item: NotionUpdateBlock_BulletedListItemBlockSchema.nullable().optional(),\n numbered_list_item: NotionUpdateBlock_NumberedListItemBlockSchema.nullable().optional(),\n}).describe(\"Complete Block object returned by PATCH /v1/blocks/{block_id}.\\n\\nThe Update a Block endpoint returns a complete Block object with updated content.\\nThe response structure matches the Block object schema.\");\n\nexport const notionUpdateBlock = action(\"NOTION_UPDATE_BLOCK\", {\n slug: \"notion-update-block\",\n name: \"Update block\",\n description: \"Updates existing Notion block's text content. ⚠️ CRITICAL: Content limited to 2000 chars. Cannot change block type or archive blocks. Content exceeding 2000 chars will fail with validation error. For longer content, split across multiple blocks using add_multiple_page_content.\",\n input: NotionUpdateBlockInput,\n output: NotionUpdateBlockOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yBAAuCA,IAA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actions/update-block.d.ts
|
|
4
|
+
declare const NotionUpdateBlockInput: z.ZodTypeAny;
|
|
5
|
+
declare const NotionUpdateBlockOutput: z.ZodTypeAny;
|
|
6
|
+
declare const notionUpdateBlock: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { notionUpdateBlock };
|
|
9
|
+
//# sourceMappingURL=update-block.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update-block.d.cts","names":[],"sources":["../../src/actions/update-block.ts"],"mappings":";;;cAIa,sBAAA,EAAwB,CAAA,CAAE,UAMqB;AAAA,cAyM/C,uBAAA,EAAyB,CAAA,CAAE,UA4CmL;AAAA,cAE9M,iBAAA,gCAAiB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/update-block.d.ts
|
|
4
|
+
declare const NotionUpdateBlockInput: z.ZodTypeAny;
|
|
5
|
+
declare const NotionUpdateBlockOutput: z.ZodTypeAny;
|
|
6
|
+
declare const notionUpdateBlock: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { notionUpdateBlock };
|
|
9
|
+
//# sourceMappingURL=update-block.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update-block.d.mts","names":[],"sources":["../../src/actions/update-block.ts"],"mappings":";;;cAIa,sBAAA,EAAwB,CAAA,CAAE,UAMqB;AAAA,cAyM/C,uBAAA,EAAyB,CAAA,CAAE,UA4CmL;AAAA,cAE9M,iBAAA,gCAAiB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|